diff --git a/Sources/SotoSmithy/Traits/Types/RulesTraits.swift b/Sources/SotoSmithy/Traits/Types/RulesTraits.swift index ed5ca5a..919813c 100644 --- a/Sources/SotoSmithy/Traits/Types/RulesTraits.swift +++ b/Sources/SotoSmithy/Traits/Types/RulesTraits.swift @@ -39,8 +39,11 @@ public struct ClientContextParamsTrait: StaticTrait { public init() {} } -public struct StaticContextParamsTrait: StaticTrait { +public struct StaticContextParamsTrait: SingleValueTrait { public static let staticName: ShapeId = "smithy.rules#staticContextParams" public var selector: Selector { TypeSelector() } - public init() {} + public var value: [String: Document] + public init(value: [String: Document]) { + self.value = value + } }