File tree Expand file tree Collapse file tree
codegen/kitchensink-test-codegen/model Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,6 +76,56 @@ namespace aws.kitchensinktest
7676 }
7777 ]
7878})
79+ @smithy.rules#endpointBdd (
80+ version : " 1.1"
81+ parameters : {
82+ Region : {
83+ builtIn : " AWS::Region"
84+ required : true
85+ documentation : " The AWS region"
86+ type : " string"
87+ }
88+ Id : {
89+ required : false
90+ documentation : " The item id"
91+ type : " string"
92+ }
93+ }
94+ conditions : [
95+ {
96+ fn : " isSet"
97+ argv : [
98+ {
99+ ref : " Id"
100+ }
101+ ]
102+ }
103+ ]
104+ results : [
105+ {
106+ conditions : []
107+ endpoint : {
108+ url : " https://{Id}.example.{Region}.amazonaws.com"
109+ properties : {}
110+ headers : {}
111+ }
112+ type : " endpoint"
113+ }
114+ {
115+ documentation : " Default regional endpoint"
116+ conditions : []
117+ endpoint : {
118+ url : " https://example.{Region}.amazonaws.com"
119+ properties : {}
120+ headers : {}
121+ }
122+ type : " endpoint"
123+ }
124+ ]
125+ root : 2
126+ nodeCount : 2
127+ nodes : " /////wAAAAH/////AAAAAAX14QEF9eEC"
128+ )
79129service AwsJson1KitchenSink {
80130 version : " 2025-03-01" ,
81131 operations : [GetItem ],
You can’t perform that action at this time.
0 commit comments