Struct: query.Object
Overview
Object represents the encoding of Query structures and unions. A Query object is a representation of a mapping of string keys to arbitrary values where there is a fixed set of keys whose values each have their own known type. A serialized object might look like the following:
ObjectName.Foo=value
&ObjectName.Bar=5
Implemented Interfaces
types.AnalyticsFilter, v4.HTTPPresigner, s3.HTTPPresignerV4, types.MetricsFilter, s3.PresignPost, arn.S3ObjectLambdaARN, types.SelectObjectContentEventStream
Method Summary collapse
-
func (o *Object) FlatKey(name string) Value
FlatKey adds the given named key to the Query object.
-
func (o *Object) Key(name string) Value
Key adds the given named key to the Query object.
-
func (o *Object) KeyWithValues(name string) Value
KeyWithValues adds the given named key to the Query object.
Method Details
func (o *Object) FlatKey(name string) Value
FlatKey adds the given named key to the Query object. Returns a Value encoder that should be used to encode a Query value type. The value will be flattened if it is a map or array.
49 50 51 |
// File 'aws/protocol/query/object.go', line 49
|
func (o *Object) Key(name string) Value
Key adds the given named key to the Query object. Returns a Value encoder that should be used to encode a Query value type.
36 37 38 |
// File 'aws/protocol/query/object.go', line 36
|
func (o *Object) KeyWithValues(name string) Value
KeyWithValues adds the given named key to the Query object. Returns a Value encoder that should be used to encode a Query list of values.
42 43 44 |
// File 'aws/protocol/query/object.go', line 42
|