Lines Matching defs:API

21 type API struct {  struct
22 Metadata Metadata
23 Operations map[string]*Operation
24 Shapes map[string]*Shape
25 Waiters []Waiter
26 Documentation string
27 Examples Examples
28 SmokeTests SmokeTestSuite
30 IgnoreUnsupportedAPIs bool
33 NoRemoveUnusedShapes bool
36 NoRenameToplevelShapes bool
39 NoInitMethods bool
42 NoStringerMethods bool
45 NoConstServiceNames bool
48 NoValidataShapeMethods bool
51 NoGenStructFieldAccessors bool
53 BaseImportPath string
55 initialized bool
56 imports map[string]bool
57 name string
58 path string
60 BaseCrosslinkURL string
62 HasEventStream bool `json:"-"`
64 EndpointDiscoveryOp *Operation
66 HasEndpointARN bool `json:"-"`
68 HasOutpostID bool `json:"-"`
70 HasAccountIdWithARN bool `json:"-"`
72 WithGeneratedTypedErrors bool
101 func (a *API) PackageName() string {
106 func (a *API) ImportPath() string {
111 func (a *API) InterfacePackageName() string {
121 func (a *API) StructName() string {
161 func (a *API) UseInitMethods() bool {
166 func (a *API) NiceName() string {
174 func (a *API) ProtocolPackage() string {
186 func (a *API) OperationNames() []string {
197 func (a *API) OperationList() []*Operation {
207 func (a *API) OperationHasOutputPlaceholder() bool {
217 func (a *API) ShapeNames() []string {
230 func (a *API) ShapeList() []*Shape {
242 func (a *API) ShapeListErrors() []*Shape {
254 func (a *API) resetImports() {
259 func (a *API) importsGoCode() string {
315 func (a *API) AddImport(v string) error {
321 func (a *API) AddSDKImport(v ...string) error {
331 func (a *API) APIGoCode() string {
381 func (a *API) GetCrosslinkURL(params ...string) string {
415 func (a *API) APIName() string {
457 func ServiceID(a *API) string {
665 func (a *API) ServicePackageDoc() string {
677 func (a *API) ServiceGoCode() string {
705 func (a *API) ExampleGoCode() string {
795 func (a *API) InterfaceGoCode() string {
814 func (a *API) NewAPIGoCodeWithPkgName(cfg string) string {
819 func (a *API) addShapeValidations() {
920 func (a *API) APIErrorsGoCode() string {
935 func (a *API) removeOperation(name string) {
949 func (a *API) removeShape(s *Shape) {
971 func (a *API) removeShapeRef(ref *ShapeRef) {
985 func (a *API) writeInputOutputLocationName() {
999 func (a *API) addHeaderMapDocumentation() {