diff --git a/smithy-aws-apigateway-traits/src/main/resources/META-INF/smithy/aws.apigateway.json b/smithy-aws-apigateway-traits/src/main/resources/META-INF/smithy/aws.apigateway.json index 053e2687ac0..af64310fcbd 100644 --- a/smithy-aws-apigateway-traits/src/main/resources/META-INF/smithy/aws.apigateway.json +++ b/smithy-aws-apigateway-traits/src/main/resources/META-INF/smithy/aws.apigateway.json @@ -353,7 +353,10 @@ "type": "structure", "members": { "statusCode": { - "target": "smithy.api#String" + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "HTTP status code for the method response; for example, \"200\". This must correspond to a matching response in the OpenAPI Operation responses field." + } }, "contentHandling": { "target": "aws.apigateway#ContentHandling" diff --git a/smithy-aws-iam-traits/src/main/resources/META-INF/smithy/aws.iam.json b/smithy-aws-iam-traits/src/main/resources/META-INF/smithy/aws.iam.json index d36673de95d..54e11f762e0 100644 --- a/smithy-aws-iam-traits/src/main/resources/META-INF/smithy/aws.iam.json +++ b/smithy-aws-iam-traits/src/main/resources/META-INF/smithy/aws.iam.json @@ -69,10 +69,16 @@ "type": "structure", "members": { "documentation": { - "target": "smithy.api#String" + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "Defines documentation about the condition key." + } }, "externalDocumentation": { - "target": "smithy.api#String" + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "A valid URL that defines more information about the condition key." + } }, "type": { "target": "aws.iam#ConditionKeyType", @@ -82,7 +88,8 @@ } }, "traits": { - "smithy.api#private": {} + "smithy.api#private": {}, + "smithy.api#documentation": "A defined condition key to appear within a service in addition to inferred and global condition keys." } }, "aws.iam#ConditionKeyType": {