forked from smithy-lang/smithy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.smithy
104 lines (87 loc) · 2.59 KB
/
main.smithy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
$version: "2.0"
namespace aws.protocoltests.restxml
use aws.api#service
use aws.protocols#restXml
use smithy.test#httpRequestTests
use smithy.test#httpResponseTests
/// A REST XML service that sends XML requests and responses.
@service(sdkId: "Rest Xml Protocol")
@restXml
service RestXml {
version: "2019-12-16",
operations: [
// Basic input and output tests
NoInputAndNoOutput,
NoInputAndOutput,
EmptyInputAndEmptyOutput,
XmlEmptyLists,
XmlEmptyMaps,
XmlEmptyStrings,
// @httpHeader tests
InputAndOutputWithHeaders,
NullAndEmptyHeadersClient,
NullAndEmptyHeadersServer,
TimestampFormatHeaders,
// @httpLabel tests
HttpRequestWithLabels,
HttpRequestWithLabelsAndTimestampFormat,
HttpRequestWithGreedyLabelInPath,
HttpRequestWithFloatLabels,
// @httpQuery and @httpQueryParams tests
AllQueryStringTypes,
ConstantQueryString,
ConstantAndVariableQueryString,
IgnoreQueryParamsInResponse,
OmitsNullSerializesEmptyString,
QueryIdempotencyTokenAutoFill,
QueryPrecedence,
QueryParamsAsStringListMap,
// @httpPrefixHeaders tests
HttpPrefixHeaders,
// @httpPayload tests
HttpPayloadTraits,
HttpPayloadTraitsWithMediaType,
HttpPayloadWithStructure,
HttpPayloadWithUnion,
HttpPayloadWithXmlName,
BodyWithXmlName,
HttpPayloadWithMemberXmlName,
HttpPayloadWithXmlNamespace,
HttpPayloadWithXmlNamespaceAndPrefix,
// @httpResponseCode tests
HttpResponseCode,
// Output tests
XmlEmptyBlobs,
// Errors
GreetingWithErrors,
// Synthesized XML document body tests
SimpleScalarProperties,
XmlUnions,
XmlBlobs,
XmlTimestamps,
XmlEnums,
XmlIntEnums,
RecursiveShapes,
XmlLists,
XmlMaps,
XmlMapsXmlName,
NestedXmlMaps,
FlattenedXmlMap,
FlattenedXmlMapWithXmlName,
FlattenedXmlMapWithXmlNamespace,
// @xmlAttribute tests
XmlAttributes,
XmlAttributesOnPayload,
// @xmlNamespace trait tests
XmlNamespaces,
// @endpoint and @hostLabel trait tests
EndpointOperation,
EndpointWithHostLabelOperation,
EndpointWithHostLabelHeaderOperation,
// client-only timestamp parsing tests
DatetimeOffsets,
FractionalSeconds,
// requestCompression trait tests
PutWithContentEncoding
]
}