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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
/*!
String constants for elements of the model.
*/
// ------------------------------------------------------------------------------------------------
// ShapeID Separators
// ------------------------------------------------------------------------------------------------
/// The model member containing metadata.
pub const MODEL_METADATA: &str = "metadata";
/// The model member containing top-level shapes.
pub const MODEL_SHAPES: &str = "shapes";
/// The model member identifying the version of Smithy used.
pub const MODEL_VERSION: &str = "version";
// ------------------------------------------------------------------------------------------------
// ShapeID Separators
// ------------------------------------------------------------------------------------------------
/// The character separating components of a `Namespace` string.
pub const SHAPE_ID_NAMESPACE_SEPARATOR: char = '.';
/// The character separating a `Namespace` and `Identifier` in an absolute `ShapeID`.
pub const SHAPE_ID_ABSOLUTE_SEPARATOR: char = '#';
/// The character separating the shape name and member name in a `ShapeID`.
pub const SHAPE_ID_MEMBER_SEPARATOR: char = '$';
// ------------------------------------------------------------------------------------------------
// Simple Shape Names
// ------------------------------------------------------------------------------------------------
/// String identifier for the simple shape `SimpleShape::Blob`.
pub const SHAPE_BLOB: &str = "blob";
/// String identifier for the simple shape `SimpleShape::Boolean`.
pub const SHAPE_BOOLEAN: &str = "boolean";
/// String identifier for the simple shape `SimpleShape::Document`.
pub const SHAPE_DOCUMENT: &str = "document";
/// String identifier for the simple shape `SimpleShape::String`.
pub const SHAPE_STRING: &str = "string";
/// String identifier for the simple shape `SimpleShape::Byte`.
pub const SHAPE_BYTE: &str = "byte";
/// String identifier for the simple shape `SimpleShape::Short`.
pub const SHAPE_SHORT: &str = "short";
/// String identifier for the simple shape `SimpleShape::Integer`.
pub const SHAPE_INTEGER: &str = "integer";
/// String identifier for the simple shape `SimpleShape::Long`.
pub const SHAPE_LONG: &str = "long";
/// String identifier for the simple shape `SimpleShape::Float`.
pub const SHAPE_FLOAT: &str = "float";
/// String identifier for the simple shape `SimpleShape::Double`.
pub const SHAPE_DOUBLE: &str = "double";
/// String identifier for the simple shape `SimpleShape::BigInteger`.
pub const SHAPE_BIG_INTEGER: &str = "bigInteger";
/// String identifier for the simple shape `SimpleShape::BigDecimal`.
pub const SHAPE_BIG_DECIMAL: &str = "bigDecimal";
/// String identifier for the simple shape `SimpleShape::Timestamp`.
pub const SHAPE_TIMESTAMP: &str = "timestamp";
// ------------------------------------------------------------------------------------------------
// Shape Names
// ------------------------------------------------------------------------------------------------
/// String identifier for the shape `ShapeBody::Apply`.
pub const SHAPE_APPLY: &str = "apply";
/// String identifier for the shape `ShapeBody::List`.
pub const SHAPE_LIST: &str = "list";
/// String identifier for the shape `ShapeBody::Map`.
pub const SHAPE_MAP: &str = "map";
/// String identifier for the shape `ShapeBody::Operation`.
pub const SHAPE_OPERATION: &str = "operation";
/// String identifier for the shape `ShapeBody::Resource`.
pub const SHAPE_RESOURCE: &str = "resource";
/// String identifier for the shape `ShapeBody::Service`.
pub const SHAPE_SERVICE: &str = "service";
/// String identifier for the shape `ShapeBody::Set`.
pub const SHAPE_SET: &str = "set";
/// String identifier for the shape `ShapeBody::Structure`.
pub const SHAPE_STRUCTURE: &str = "structure";
/// String identifier for the shape `ShapeBody::Union`.
pub const SHAPE_UNION: &str = "union";
// ------------------------------------------------------------------------------------------------
// Member Names
// ------------------------------------------------------------------------------------------------
/// The member named "collectionOperations" on the shape Resource.
pub const MEMBER_COLLECTION_OPERATIONS: &str = "collectionOperations";
/// The member named "create" on the shape Resource.
pub const MEMBER_CREATE: &str = "create";
/// The member named "delete" on the shape Resource.
pub const MEMBER_DELETE: &str = "delete";
/// The member named "errors" on the shape Operation.
pub const MEMBER_ERRORS: &str = "errors";
/// The member named "identifiers" on the shape Resource.
pub const MEMBER_IDENTIFIERS: &str = "identifiers";
/// The member named "input" on the shape Operation.
pub const MEMBER_INPUT: &str = "input";
/// The member named "key" on the shape Map.
pub const MEMBER_KEY: &str = "key";
/// The member named "list" on the shape Resource.
pub const MEMBER_LIST: &str = "list";
/// The member named "member" on the shapes List and Set.
pub const MEMBER_MEMBER: &str = "member";
/// The member named "operations" on the shapes Service and Resource.
pub const MEMBER_OPERATIONS: &str = "operations";
/// The member named "output" on the shape Operation.
pub const MEMBER_OUTPUT: &str = "output";
/// The member named "put" on the shape Resource.
pub const MEMBER_PUT: &str = "put";
/// The member named "read" on the shape Resource.
pub const MEMBER_READ: &str = "read";
/// The member named "rename" on the shape Service.
pub const MEMBER_RENAME: &str = "rename";
/// The member named "resources" on the shapes Service and Resource.
pub const MEMBER_RESOURCES: &str = "resources";
/// The member named "update" on the shape Resource.
pub const MEMBER_UPDATE: &str = "update";
/// The member named "value" on the shape Map.
pub const MEMBER_VALUE: &str = "value";
/// The member named "version" on the shape Service.
pub const MEMBER_VERSION: &str = "version";