diff --git a/service/kafkaconnect/deserializers.go b/service/kafkaconnect/deserializers.go index 84eb041e6c8..bc35cd03d7e 100644 --- a/service/kafkaconnect/deserializers.go +++ b/service/kafkaconnect/deserializers.go @@ -1133,7 +1133,7 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorOutput(v **DescribeConne } case "connectorConfiguration": - if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.ConnectorConfiguration, value); err != nil { + if err := awsRestjson1_deserializeDocument__sensitive__mapOf__string(&sv.ConnectorConfiguration, value); err != nil { return err } @@ -2832,7 +2832,7 @@ func awsRestjson1_deserializeDocument__listOfWorkerConfigurationSummary(v *[]typ return nil } -func awsRestjson1_deserializeDocument__mapOf__string(v *map[string]string, value interface{}) error { +func awsRestjson1_deserializeDocument__sensitive__mapOf__string(v *map[string]string, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -4546,7 +4546,7 @@ func awsRestjson1_deserializeDocumentWorkerConfigurationRevisionDescription(v ** if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected __string to be of type string, got %T instead", value) + return fmt.Errorf("expected __sensitiveString to be of type string, got %T instead", value) } sv.PropertiesFileContent = ptr.String(jtv) } diff --git a/service/kafkaconnect/serializers.go b/service/kafkaconnect/serializers.go index de18e8a8c17..303381c9ef8 100644 --- a/service/kafkaconnect/serializers.go +++ b/service/kafkaconnect/serializers.go @@ -83,7 +83,7 @@ func awsRestjson1_serializeOpDocumentCreateConnectorInput(v *CreateConnectorInpu if v.ConnectorConfiguration != nil { ok := object.Key("connectorConfiguration") - if err := awsRestjson1_serializeDocument__mapOf__string(v.ConnectorConfiguration, ok); err != nil { + if err := awsRestjson1_serializeDocument__sensitive__mapOf__string(v.ConnectorConfiguration, ok); err != nil { return err } } @@ -896,7 +896,7 @@ func awsRestjson1_serializeDocument__listOfPlugin(v []types.Plugin, value smithy return nil } -func awsRestjson1_serializeDocument__mapOf__string(v map[string]string, value smithyjson.Value) error { +func awsRestjson1_serializeDocument__sensitive__mapOf__string(v map[string]string, value smithyjson.Value) error { object := value.Object() defer object.Close() diff --git a/service/nimble/deserializers.go b/service/nimble/deserializers.go index c73ca1942ef..7da90326643 100644 --- a/service/nimble/deserializers.go +++ b/service/nimble/deserializers.go @@ -7995,7 +7995,7 @@ func awsRestjson1_deserializeDocumentComputeFarmConfiguration(v **types.ComputeF if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected String to be of type string, got %T instead", value) + return fmt.Errorf("expected SensitiveString to be of type string, got %T instead", value) } sv.Endpoint = ptr.String(jtv) } @@ -9168,7 +9168,7 @@ func awsRestjson1_deserializeDocumentLicenseServiceConfiguration(v **types.Licen if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected String to be of type string, got %T instead", value) + return fmt.Errorf("expected SensitiveString to be of type string, got %T instead", value) } sv.Endpoint = ptr.String(jtv) } @@ -9365,7 +9365,7 @@ func awsRestjson1_deserializeDocumentSharedFileSystemConfiguration(v **types.Sha if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected String to be of type string, got %T instead", value) + return fmt.Errorf("expected SensitiveString to be of type string, got %T instead", value) } sv.Endpoint = ptr.String(jtv) } @@ -9392,7 +9392,7 @@ func awsRestjson1_deserializeDocumentSharedFileSystemConfiguration(v **types.Sha if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected String to be of type string, got %T instead", value) + return fmt.Errorf("expected SensitiveString to be of type string, got %T instead", value) } sv.ShareName = ptr.String(jtv) } @@ -10275,7 +10275,7 @@ func awsRestjson1_deserializeDocumentStreamingSessionStream(v **types.StreamingS if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected String to be of type string, got %T instead", value) + return fmt.Errorf("expected SensitiveString to be of type string, got %T instead", value) } sv.Url = ptr.String(jtv) }