Documentation ¶
Index ¶
- type API
- func (a *API) APIGoCode() string
- func (a *API) Attach(filename string)
- func (a *API) AttachString(str string)
- func (a *API) ExportableName(name string) string
- func (a *API) NiceName() string
- func (a *API) OperationList() []*Operation
- func (a *API) OperationNames() []string
- func (a *API) PackageName() string
- func (a *API) ProtocolPackage() string
- func (a *API) ServiceGoCode() string
- func (a *API) Setup()
- func (a *API) ShapeList() []*Shape
- func (a *API) ShapeNames() []string
- func (a *API) StructName() string
- type HTTPInfo
- type Metadata
- type Operation
- type Shape
- type ShapeRef
- type XMLInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { Metadata Metadata Operations map[string]*Operation Shapes map[string]*Shape // Disables inflection checks. Only use this when generating tests NoInflections bool // Set to true to avoid removing unused shapes NoRemoveUnusedShapes bool // contains filtered or unexported fields }
func (*API) AttachString ¶
func (*API) ExportableName ¶
func (*API) OperationList ¶
func (*API) OperationNames ¶
func (*API) PackageName ¶
func (*API) ProtocolPackage ¶
func (*API) ServiceGoCode ¶
func (*API) ShapeNames ¶
func (*API) StructName ¶
StructName returns the service struct name for a given service
type Operation ¶
type Shape ¶
type Shape struct { API *API `json: "-"` ShapeName string Documentation string MemberRefs map[string]*ShapeRef `json:"members"` MemberRef ShapeRef `json:"member"` KeyRef ShapeRef `json:"key"` ValueRef ShapeRef `json:"value"` Required []string Payload string Type string Exception bool Enum []string Flattened bool Streaming bool Location string LocationName string XMLNamespace XMLInfo // contains filtered or unexported fields }
func (*Shape) GoTypeElem ¶
func (*Shape) IsRequired ¶
func (*Shape) MemberNames ¶
type ShapeRef ¶
type ShapeRef struct { API *API `json: "-"` Shape *Shape `json: "-"` Documentation string ShapeName string `json:"shape"` Location string LocationName string QueryName string Flattened bool Streaming bool XMLAttribute bool XMLNamespace XMLInfo Payload string }
func (*ShapeRef) GoTypeElem ¶
Click to show internal directories.
Click to hide internal directories.