diff --git a/smithy-typescript-codegen-test/model/main.smithy b/smithy-typescript-codegen-test/model/main.smithy index 3709d45609f..7f8b5df032e 100644 --- a/smithy-typescript-codegen-test/model/main.smithy +++ b/smithy-typescript-codegen-test/model/main.smithy @@ -13,7 +13,7 @@ use smithy.waiters#waitable // auth scheme support is implemented // @httpApiKeyAuth(name: "X-Api-Key", in: "header") // @httpBearerAuth -// @sigv4(name: "weather") +@sigv4(name: "weather") // @auth([sigv4]) @paginated(inputToken: "nextToken", outputToken: "nextToken", pageSize: "pageSize") service Weather { @@ -28,10 +28,12 @@ service Weather { // experimentalIdentityAndAuth // OnlyHttpApiKeyAuth // OnlyHttpBearerAuth + OnlySigv4Auth // OnlyHttpApiKeyAndBearerAuth // OnlyHttpApiKeyAndBearerAuthReversed // OnlyHttpApiKeyAuthOptional - // SameAsService + OnlySigv4AuthOptional + SameAsService ] } @@ -43,6 +45,10 @@ operation OnlyHttpApiKeyAuth {} @auth([httpBearerAuth]) operation OnlyHttpBearerAuth {} +@http(method: "GET", uri: "/OnlySigv4Auth") +@auth([sigv4]) +operation OnlySigv4Auth {} + @http(method: "GET", uri: "/OnlyHttpApiKeyAndBearerAuth") @auth([httpApiKeyAuth, httpBearerAuth]) operation OnlyHttpApiKeyAndBearerAuth {} @@ -56,6 +62,11 @@ operation OnlyHttpApiKeyAndBearerAuthReversed {} @optionalAuth operation OnlyHttpApiKeyAuthOptional {} +@http(method: "GET", uri: "/OnlySigv4AuthOptional") +@auth([sigv4]) +@optionalAuth +operation OnlySigv4AuthOptional {} + @http(method: "GET", uri: "/SameAsService") operation SameAsService {}