From 842a41d6e6765fe10340bb28574465163c3c0913 Mon Sep 17 00:00:00 2001 From: Adam Fowler Date: Mon, 18 Nov 2024 09:41:44 +0000 Subject: [PATCH] Update IAM traits (iamResource, iamConditionKeys) --- Sources/SotoSmithyAWS/Traits/AwsIAMTraits.swift | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Sources/SotoSmithyAWS/Traits/AwsIAMTraits.swift b/Sources/SotoSmithyAWS/Traits/AwsIAMTraits.swift index 8b53490..dbc8424 100644 --- a/Sources/SotoSmithyAWS/Traits/AwsIAMTraits.swift +++ b/Sources/SotoSmithyAWS/Traits/AwsIAMTraits.swift @@ -90,6 +90,8 @@ public struct AwsIAMDefineConditionKeysTrait: SingleValueTrait { let type: KeyType let documentation: String? let externalDocumentation: String? + let relativeDocumentation: String? + let required: Bool? } public let value: [String: ConditionKey] @@ -156,8 +158,7 @@ public struct AwsIAMSupportPrincipalTypesTrait: SingleValueTrait { public struct AwsIAMResourceTrait: StaticTrait { public static let staticName: ShapeId = "aws.iam#iamResource" public var selector: Selector { TypeSelector() } - public let name: String - public init(name: String) { - self.name = name - } + public let name: String? + public let relativeDocumentation: String? + public let disableConditionKeyInheritance: Bool? }