Lines Matching defs:Shape

33 	Shape         *Shape `json:"-"`  member
75 type Shape struct { struct
76 API *API `json:"-"`
77 ShapeName string
78 Documentation string
79 MemberRefs map[string]*ShapeRef `json:"members"`
80 MemberRef ShapeRef `json:"member"` // List ref
81 KeyRef ShapeRef `json:"key"` // map key ref
82 ValueRef ShapeRef `json:"value"` // map value ref
83 Required []string
84 Payload string
85 Type string
86 Exception bool
87 Enum []string
88 EnumConsts []string
89 Flattened bool
90 Streaming bool
91 Location string
92 LocationName string
93 IdempotencyToken bool `json:"idempotencyToken"`
94 TimestampFormat string `json:"timestampFormat"`
95 XMLNamespace XMLInfo
96 Min float64 // optional Minimum length (string, list) or value (number)
98 OutputEventStreamAPI *EventStreamAPI
99 EventStream *EventStream
100 EventFor map[string]*EventStream `json:"-"`
102 IsInputEventStream bool `json:"-"`
103 IsOutputEventStream bool `json:"-"`
105 IsEventStream bool `json:"eventstream"`
106 IsEvent bool `json:"event"`
108 refs []*ShapeRef // References to this shape
109 resolvePkg string // use this package in the goType() if present
111 OrigShapeName string `json:"-"`
114 Placeholder bool
116 Deprecated bool `json:"deprecated"`
117 DeprecatedMsg string `json:"deprecatedMessage"`
119 Validations ShapeValidations
122 ErrorInfo ErrorInfo `json:"error"`
126 AliasedShapeName bool
129 Sensitive bool `json:"sensitive"`
132 HasEndpointARNMember bool
135 HasOutpostIDMember bool
138 HasAccountIdMemberWithARN bool
141 UsedAsInput bool
144 UsedAsOutput bool
163 func (s *Shape) ErrorCodeName() string {
169 func (s *Shape) ErrorName() string {
190 func (s *Shape) PayloadRefName() string {
206 func (s *Shape) GoTags(root, required bool) string {
213 func (s *Shape) Rename(newName string) {
229 func (s *Shape) MemberNames() []string {
241 func (s *Shape) HasMember(name string) bool {
248 func (s *Shape) GoTypeWithPkgName() string {
254 func (s *Shape) GoTypeWithPkgNameElem() string {
280 func (s Shape) GetTimestampFormat() string {
308 func (s *Shape) GoStructValueType(name string, ref *ShapeRef) string {
320 func (s *Shape) GoStructType(name string, ref *ShapeRef) string {
347 func (s *Shape) GoType() string {
372 func goType(s *Shape, withPkgName bool) string {
412 func (s *Shape) GoTypeElem() string {
572 func (s *Shape) Docstring() string {
594 func (s *Shape) GoCodeStringers() string {
608 func (s *Shape) EnumName(n int) string {
634 func (s *Shape) NestedShape() *Shape {
911 func (s *Shape) GoCode() string {
947 func (s *Shape) IsEnum() bool {
953 func (s *Shape) IsRequired(member string) bool {
979 func (s *Shape) IsInternal() bool {
985 func (s *Shape) removeRef(ref *ShapeRef) {
1000 func (s *Shape) WillRefBeBase64Encoded(refName string) bool {
1017 func (s *Shape) Clone(newName string) *Shape {