Lines Matching defs:Shape

34 	Shape         *Shape `json:"-"`  member
76 type Shape struct { struct
77 API *API `json:"-"`
78 ShapeName string
79 Documentation string
80 MemberRefs map[string]*ShapeRef `json:"members"`
81 MemberRef ShapeRef `json:"member"` // List ref
82 KeyRef ShapeRef `json:"key"` // map key ref
83 ValueRef ShapeRef `json:"value"` // map value ref
84 Required []string
85 Payload string
86 Type string
87 Exception bool
88 Enum []string
89 EnumConsts []string
90 Flattened bool
91 Streaming bool
92 Location string
93 LocationName string
94 IdempotencyToken bool `json:"idempotencyToken"`
95 TimestampFormat string `json:"timestampFormat"`
96 XMLNamespace XMLInfo
97 Min float64 // optional Minimum length (string, list) or value (number)
99 OutputEventStreamAPI *EventStreamAPI
100 EventStream *EventStream
101 EventFor map[string]*EventStream `json:"-"`
103 IsInputEventStream bool `json:"-"`
104 IsOutputEventStream bool `json:"-"`
106 IsEventStream bool `json:"eventstream"`
107 IsEvent bool `json:"event"`
109 refs []*ShapeRef // References to this shape
110 resolvePkg string // use this package in the goType() if present
112 OrigShapeName string `json:"-"`
115 Placeholder bool
117 Deprecated bool `json:"deprecated"`
118 DeprecatedMsg string `json:"deprecatedMessage"`
120 Validations ShapeValidations
123 ErrorInfo ErrorInfo `json:"error"`
127 AliasedShapeName bool
130 Sensitive bool `json:"sensitive"`
133 HasEndpointARNMember bool
136 HasOutpostIDMember bool
139 HasAccountIdMemberWithARN bool
142 UsedAsInput bool
145 UsedAsOutput bool
164 func (s *Shape) ErrorCodeName() string {
170 func (s *Shape) ErrorName() string {
191 func (s *Shape) PayloadRefName() string {
207 func (s *Shape) GoTags(root, required bool) string {
214 func (s *Shape) Rename(newName string) {
230 func (s *Shape) MemberNames() []string {
242 func (s *Shape) HasMember(name string) bool {
249 func (s *Shape) GoTypeWithPkgName() string {
255 func (s *Shape) GoTypeWithPkgNameElem() string {
281 func (s Shape) GetTimestampFormat() string {
309 func (s *Shape) GoStructValueType(name string, ref *ShapeRef) string {
321 func (s *Shape) GoStructType(name string, ref *ShapeRef) string {
348 func (s *Shape) GoType() string {
373 func goType(s *Shape, withPkgName bool) string {
413 func (s *Shape) GoTypeElem() string {
573 func (s *Shape) Docstring() string {
595 func (s *Shape) GoCodeStringers() string {
609 func (s *Shape) EnumName(n int) string {
635 func (s *Shape) NestedShape() *Shape {
912 func (s *Shape) GoCode() string {
948 func (s *Shape) IsEnum() bool {
954 func (s *Shape) IsRequired(member string) bool {
980 func (s *Shape) IsInternal() bool {
986 func (s *Shape) removeRef(ref *ShapeRef) {
1001 func (s *Shape) WillRefBeBase64Encoded(refName string) bool {
1018 func (s *Shape) Clone(newName string) *Shape {