1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
import (
smithydocument "github.com/aws/smithy-go/document"
"time"
)
type ComplexNestedErrorData struct {
Foo *string
noSmithyDocumentSerde
}
type EmptyStruct struct {
noSmithyDocumentSerde
}
type KitchenSink struct {
Blob []byte
Boolean *bool
Double *float64
EmptyStruct *EmptyStruct
Float *float32
HttpdateTimestamp *time.Time
Integer *int32
Iso8601Timestamp *time.Time
// This value conforms to the media type: application/json
JsonValue *string
ListOfLists [][]string
ListOfMapsOfStrings []map[string]string
ListOfStrings []string
ListOfStructs []SimpleStruct
Long *int64
MapOfListsOfStrings map[string][]string
MapOfMaps map[string]map[string]string
MapOfStrings map[string]string
MapOfStructs map[string]SimpleStruct
RecursiveList []KitchenSink
RecursiveMap map[string]KitchenSink
RecursiveStruct *KitchenSink
SimpleStruct *SimpleStruct
String_ *string
StructWithJsonName *StructWithJsonName
Timestamp *time.Time
UnixTimestamp *time.Time
noSmithyDocumentSerde
}
// A union with a representative set of types for members.
//
// The following types satisfy this interface:
//
// MyUnionMemberBlobValue
// MyUnionMemberBooleanValue
// MyUnionMemberEnumValue
// MyUnionMemberListValue
// MyUnionMemberMapValue
// MyUnionMemberNumberValue
// MyUnionMemberStringValue
// MyUnionMemberStructureValue
// MyUnionMemberTimestampValue
type MyUnion interface {
isMyUnion()
}
type MyUnionMemberBlobValue struct {
Value []byte
noSmithyDocumentSerde
}
func (*MyUnionMemberBlobValue) isMyUnion() {}
type MyUnionMemberBooleanValue struct {
Value bool
noSmithyDocumentSerde
}
func (*MyUnionMemberBooleanValue) isMyUnion() {}
type MyUnionMemberEnumValue struct {
Value FooEnum
noSmithyDocumentSerde
}
func (*MyUnionMemberEnumValue) isMyUnion() {}
type MyUnionMemberListValue struct {
Value []string
noSmithyDocumentSerde
}
func (*MyUnionMemberListValue) isMyUnion() {}
type MyUnionMemberMapValue struct {
Value map[string]string
noSmithyDocumentSerde
}
func (*MyUnionMemberMapValue) isMyUnion() {}
type MyUnionMemberNumberValue struct {
Value int32
noSmithyDocumentSerde
}
func (*MyUnionMemberNumberValue) isMyUnion() {}
type MyUnionMemberStringValue struct {
Value string
noSmithyDocumentSerde
}
func (*MyUnionMemberStringValue) isMyUnion() {}
type MyUnionMemberStructureValue struct {
Value GreetingStruct
noSmithyDocumentSerde
}
func (*MyUnionMemberStructureValue) isMyUnion() {}
type MyUnionMemberTimestampValue struct {
Value time.Time
noSmithyDocumentSerde
}
func (*MyUnionMemberTimestampValue) isMyUnion() {}
type SimpleStruct struct {
Value *string
noSmithyDocumentSerde
}
type StructWithJsonName struct {
Value *string
noSmithyDocumentSerde
}
type GreetingStruct struct {
Hi *string
noSmithyDocumentSerde
}
type noSmithyDocumentSerde = smithydocument.NoSerde
// UnknownUnionMember is returned when a union member is returned over the wire,
// but has an unknown tag.
type UnknownUnionMember struct {
Tag string
Value []byte
noSmithyDocumentSerde
}
func (*UnknownUnionMember) isMyUnion() {}
|