-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbundle.smithy
37 lines (28 loc) · 927 Bytes
/
bundle.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
$version: "2"
namespace software.amazon.smithy.modelbundle.api
structure Bundle {
/// unique identifier for the configuration type. used to resolve the appropriate Bundler.
@required
configType: String
/// fully-qualified ShapeId of the service
@required
serviceName: String
/// Bundle-specific configuration. If this bundle does not require configuration, this
/// field may be omitted.
config: Document
/// model that describes the service. The service given in `serviceName` must be present.
@required
model: Model
/// model describing the generic arguments that must be present in every request. If this
/// bundle does not require generic arguments, this field may be omitted.
requestArguments: GenericArguments
}
union Model {
smithyModel: String
}
structure GenericArguments {
@required
identifier: String
@required
model: Model
}