From 84370d7a23e7456c52df81b5cae3141b2d450ffe Mon Sep 17 00:00:00 2001 From: smithy-automation Date: Tue, 14 May 2024 15:25:53 +0000 Subject: [PATCH] Update documentation --- 2.0/_sources/aws/aws-iam.rst.txt | 11 ++++++++++- 2.0/aws/aws-iam.html | 11 ++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/2.0/_sources/aws/aws-iam.rst.txt b/2.0/_sources/aws/aws-iam.rst.txt index 91377a1fe3b..570036b42a5 100644 --- a/2.0/_sources/aws/aws-iam.rst.txt +++ b/2.0/_sources/aws/aws-iam.rst.txt @@ -545,6 +545,10 @@ The following example defines two service-specific condition keys: namespace smithy.example + use aws.api#service + use aws.iam#defineConditionKeys + use aws.iam#serviceResolvedConditionKeys + @defineConditionKeys( "myservice:ActionContextKey1": { type: "String" }, "myservice:ActionContextKey2": { type: "String" } @@ -583,6 +587,11 @@ explicitly binds ``ActionContextKey1`` to the field ``key``. namespace smithy.example + use aws.api#service + use aws.iam#conditionKeys + use aws.iam#defineConditionKeys + use aws.iam#conditionKeyValue + @defineConditionKeys( "myservice:ActionContextKey1": { type: "String" } ) @@ -595,7 +604,7 @@ explicitly binds ``ActionContextKey1`` to the field ``key``. @conditionKeys(["myservice:ActionContextKey1"]) operation OperationA { input := { - @conditionKeyValue("ActionContextKey1") + @conditionKeyValue("myservice:ActionContextKey1") key: String } output := { diff --git a/2.0/aws/aws-iam.html b/2.0/aws/aws-iam.html index 091abb7eb15..663d4b1f771 100644 --- a/2.0/aws/aws-iam.html +++ b/2.0/aws/aws-iam.html @@ -847,6 +847,10 @@ namespace smithy.example +use aws.api#service +use aws.iam#defineConditionKeys +use aws.iam#serviceResolvedConditionKeys + @defineConditionKeys( "myservice:ActionContextKey1": { type: "String" }, "myservice:ActionContextKey2": { type: "String" } @@ -876,6 +880,11 @@ namespace smithy.example +use aws.api#service +use aws.iam#conditionKeys +use aws.iam#defineConditionKeys +use aws.iam#conditionKeyValue + @defineConditionKeys( "myservice:ActionContextKey1": { type: "String" } ) @@ -888,7 +897,7 @@ @conditionKeys(["myservice:ActionContextKey1"]) operation OperationA { input := { - @conditionKeyValue("ActionContextKey1") + @conditionKeyValue("myservice:ActionContextKey1") key: String } output := {