File tree Expand file tree Collapse file tree 6 files changed +19
-0
lines changed
smithy-aws-protocol-tests/model Expand file tree Collapse file tree 6 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,15 @@ $version: "2.0"
33namespace aws.protocoltests.json10
44
55use aws.api#service
6+ use aws.auth#sigv4
67use aws.protocols#awsJson1_0
78use smithy.test#httpRequestTests
89use smithy.test#httpResponseTests
910
1011@service (sdkId : " JSON RPC 10" )
12+ @sigv4 (name : " jsonrpc10" )
1113@awsJson1 _0
14+ @title (" Sample Json 1.0 Protocol Service" )
1215service JsonRpc10 {
1316 version : " 2020-07-14" ,
1417 operations : [
Original file line number Diff line number Diff line change @@ -3,14 +3,17 @@ $version: "2.0"
33namespace aws.protocoltests.query
44
55use aws.api#service
6+ use aws.auth#sigv4
67use aws.protocols#awsQuery
78use smithy.test#httpRequestTests
89use smithy.test#httpResponseTests
910
1011/// A query service that sends query requests and XML responses.
1112@service (sdkId : " Query Protocol" )
13+ @sigv4 (name : " awsquery" )
1214@awsQuery
1315@xmlNamespace (uri : " https://example.com/" )
16+ @title (" Sample Query Protocol Service" )
1417service AwsQuery {
1518 version : " 2020-01-08" ,
1619 operations : [
Original file line number Diff line number Diff line change @@ -29,14 +29,18 @@ $version: "2.0"
2929namespace aws.protocoltests.ec2
3030
3131use aws.api#service
32+ use aws.auth#sigv4
3233use aws.protocols#ec2Query
3334use smithy.test#httpRequestTests
3435use smithy.test#httpResponseTests
3536
3637/// An EC2 query service that sends query requests and XML responses.
3738@service (sdkId : " EC2 Protocol" )
39+ @suppress ([" SigV4Traits" ])
40+ @sigv4 (name : " ec2query" )
3841@ec2Query
3942@xmlNamespace (uri : " https://example.com/" )
43+ @title (" Sample Ec2 Protocol Service" )
4044service AwsEc2 {
4145 version : " 2020-01-08" ,
4246 operations : [
Original file line number Diff line number Diff line change @@ -3,13 +3,16 @@ $version: "2.0"
33namespace aws.protocoltests.restjson
44
55use aws.api#service
6+ use aws.auth#sigv4
67use aws.protocols#restJson1
78use smithy.test#httpRequestTests
89use smithy.test#httpResponseTests
910
1011/// A REST JSON service that sends JSON requests and responses.
1112@service (sdkId : " Rest Json Protocol" )
13+ @sigv4 (name : " restjson" )
1214@restJson1
15+ @title (" Sample Rest Json Protocol Service" )
1316service RestJson {
1417 version : " 2019-12-16" ,
1518 // Ensure that generators are able to handle renames.
Original file line number Diff line number Diff line change @@ -3,13 +3,16 @@ $version: "2.0"
33namespace aws.protocoltests.restxml
44
55use aws.api#service
6+ use aws.auth#sigv4
67use aws.protocols#restXml
78use smithy.test#httpRequestTests
89use smithy.test#httpResponseTests
910
1011/// A REST XML service that sends XML requests and responses.
1112@service (sdkId : " Rest Xml Protocol" )
13+ @sigv4 (name : " restxml" )
1214@restXml
15+ @title (" Sample Rest Xml Protocol Service" )
1316service RestXml {
1417 version : " 2019-12-16" ,
1518 operations : [
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ $version: "2.0"
33namespace aws.protocoltests.restxml.xmlns
44
55use aws.api#service
6+ use aws.auth#sigv4
67use aws.protocols#restXml
78use smithy.test#httpRequestTests
89use smithy.test#httpResponseTests
@@ -15,8 +16,10 @@ use smithy.test#httpResponseTests
1516///
1617/// See https://github.com/awslabs/smithy/issues/616
1718@service (sdkId : " Rest Xml Protocol Namespace" )
19+ @sigv4 (name : " restxmlwithnamespace" )
1820@xmlNamespace (uri : " https://example.com" )
1921@restXml
22+ @title (" Sample Rest Xml Protocol Service With Namespace" )
2023service RestXmlWithNamespace {
2124 version : " 2019-12-16" ,
2225 operations : [SimpleScalarProperties ]
You can’t perform that action at this time.
0 commit comments