Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docs for aws.iam#serviceResolvedConditionKeys and aws.iam#conditionKeyValue #2287

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion docs/source-2.0/aws/aws-iam.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down Expand Up @@ -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" }
)
Expand All @@ -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 := {
Expand Down
Loading