Lines Matching defs:Shape

33 	Shape         *Shape `json:"-"`  member
69 type Shape struct { struct
70 API *API `json:"-"`
71 ShapeName string
72 Documentation string
73 MemberRefs map[string]*ShapeRef `json:"members"`
74 MemberRef ShapeRef `json:"member"` // List ref
75 KeyRef ShapeRef `json:"key"` // map key ref
76 ValueRef ShapeRef `json:"value"` // map value ref
77 Required []string
78 Payload string
79 Type string
80 Exception bool
81 Enum []string
82 EnumConsts []string
83 Flattened bool
84 Streaming bool
85 Location string
86 LocationName string
87 IdempotencyToken bool `json:"idempotencyToken"`
88 TimestampFormat string `json:"timestampFormat"`
89 XMLNamespace XMLInfo
90 Min float64 // optional Minimum length (string, list) or value (number)
92 OutputEventStreamAPI *EventStreamAPI
93 EventStream *EventStream
94 EventFor []*EventStream `json:"-"`
96 IsInputEventStream bool `json:"-"`
97 IsOutputEventStream bool `json:"-"`
99 IsEventStream bool `json:"eventstream"`
100 IsEvent bool `json:"event"`
102 refs []*ShapeRef // References to this shape
103 resolvePkg string // use this package in the goType() if present
105 OrigShapeName string `json:"-"`
108 Placeholder bool
110 Deprecated bool `json:"deprecated"`
111 DeprecatedMsg string `json:"deprecatedMessage"`
113 Validations ShapeValidations
116 ErrorInfo ErrorInfo `json:"error"`
120 AliasedShapeName bool
123 Sensitive bool `json:"sensitive"`
126 HasEndpointARNMember bool
129 UsedAsInput bool
132 UsedAsOutput bool
151 func (s *Shape) ErrorCodeName() string {
157 func (s *Shape) ErrorName() string {
178 func (s *Shape) PayloadRefName() string {
194 func (s *Shape) GoTags(root, required bool) string {
201 func (s *Shape) Rename(newName string) {
217 func (s *Shape) MemberNames() []string {
229 func (s *Shape) HasMember(name string) bool {
236 func (s *Shape) GoTypeWithPkgName() string {
242 func (s *Shape) GoTypeWithPkgNameElem() string {
268 func (s Shape) GetTimestampFormat() string {
296 func (s *Shape) GoStructValueType(name string, ref *ShapeRef) string {
308 func (s *Shape) GoStructType(name string, ref *ShapeRef) string {
335 func (s *Shape) GoType() string {
360 func goType(s *Shape, withPkgName bool) string {
400 func (s *Shape) GoTypeElem() string {
560 func (s *Shape) Docstring() string {
582 func (s *Shape) GoCodeStringers() string {
596 func (s *Shape) EnumName(n int) string {
622 func (s *Shape) NestedShape() *Shape {
868 func (s *Shape) GoCode() string {
904 func (s *Shape) IsEnum() bool {
910 func (s *Shape) IsRequired(member string) bool {
936 func (s *Shape) IsInternal() bool {
942 func (s *Shape) removeRef(ref *ShapeRef) {
957 func (s *Shape) WillRefBeBase64Encoded(refName string) bool {
974 func (s *Shape) Clone(newName string) *Shape {