This repository was archived by the owner on Jul 31, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed
models/protocol_tests/input Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 17541754 "shapes" : {
17551755 "InputShape" : {
17561756 "type" : " structure" ,
1757+ "required" : [
1758+ " URIFooEnum"
1759+ ],
17571760 "members" : {
17581761 "HeaderEnum" : {
17591762 "shape" : " EnumType" ,
18241827 },
18251828 "http" : {
18261829 "method" : " POST" ,
1827- "requestUri" : " /path "
1830+ "requestUri" : " /Enum/{URIEnum} "
18281831 },
18291832 "name" : " OperationName"
18301833 },
18311834 "params" : {
1835+ "URIFooEnum" : " bar"
18321836 },
18331837 "serialized" : {
1834- "uri" : " /path " ,
1838+ "uri" : " /Enum/bar " ,
18351839 "headers" : {}
18361840 }
18371841 }
Original file line number Diff line number Diff line change @@ -5383,7 +5383,7 @@ func (c *InputService25ProtocolTest) InputService25TestCaseOperation2Request(inp
53835383 op := & request.Operation {
53845384 Name : opInputService25TestCaseOperation2 ,
53855385 HTTPMethod : "POST" ,
5386- HTTPPath : "/path " ,
5386+ HTTPPath : "/Enum/{URIEnum} " ,
53875387 }
53885388
53895389 if input == nil {
@@ -7008,7 +7008,9 @@ func TestInputService25ProtocolTestEnumCase1(t *testing.T) {
70087008
70097009func TestInputService25ProtocolTestEnumCase2 (t * testing.T ) {
70107010 svc := NewInputService25ProtocolTest (unit .Session , & aws.Config {Endpoint : aws .String ("https://test" )})
7011- input := & InputService25TestShapeInputService25TestCaseOperation2Input {}
7011+ input := & InputService25TestShapeInputService25TestCaseOperation2Input {
7012+ URIFooEnum : aws .String ("bar" ),
7013+ }
70127014 req , _ := svc .InputService25TestCaseOperation2Request (input )
70137015 r := req .HTTPRequest
70147016
@@ -7019,7 +7021,7 @@ func TestInputService25ProtocolTestEnumCase2(t *testing.T) {
70197021 }
70207022
70217023 // assert URL
7022- awstesting .AssertURL (t , "https://test/path " , r .URL .String ())
7024+ awstesting .AssertURL (t , "https://test/Enum/bar " , r .URL .String ())
70237025
70247026 // assert headers
70257027
You can’t perform that action at this time.
0 commit comments