This data type is deprecated.
type SqlStatementResult struct {
_ struct{} `type:"structure"`
// The number of records updated by a SQL statement.
NumberOfRecordsUpdated *int64 `locationName:"numberOfRecordsUpdated" type:"long"`
// The result set of the SQL statement.
ResultFrame *ResultFrame `locationName:"resultFrame" type:"structure"`
}
// String returns the string representation
func (s SqlStatementResult) String() string {
return awsutil.Prettify(s)
}
// MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (s SqlStatementResult) MarshalFields(e protocol.FieldEncoder) error {
if s.NumberOfRecordsUpdated != nil {
v := *s.NumberOfRecordsUpdated
metadata := protocol.Metadata{}
e.SetValue(protocol.BodyTarget, "numberOfRecordsUpdated", protocol.Int64Value(v), metadata)
}
if s.ResultFrame != nil {
v := s.ResultFrame
metadata := protocol.Metadata{}
e.SetFields(protocol.BodyTarget, "resultFrame", v, metadata)
}
return nil
}
// A structure value returned by a call.
type StructValue struct {
_ struct{} `type:"structure"`
// The attributes returned in the record.
Attributes []Value `locationName:"attributes" type:"list"`
}
// String returns the string representation
func (s StructValue) String() string {
return awsutil.Prettify(s)
}
// MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (s StructValue) MarshalFields(e protocol.FieldEncoder) error {
if s.Attributes != nil {
v := s.Attributes
metadata := protocol.Metadata{}
ls0 := e.List(protocol.BodyTarget, "attributes", metadata)
ls0.Start()
for _, v1 := range v {
ls0.ListAddFields(v1)
}
ls0.End()
}
return nil
}
// The response elements represent the results of an update.
type UpdateResult struct {
_ struct{} `type:"structure"`
// Values for fields generated during the request.
GeneratedFields []Field `locationName:"generatedFields" type:"list"`
}
// String returns the string representation
func (s UpdateResult) String() string {
return awsutil.Prettify(s)
}
// MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (s UpdateResult) MarshalFields(e protocol.FieldEncoder) error {
if s.GeneratedFields != nil {
v := s.GeneratedFields
metadata := protocol.Metadata{}
ls0 := e.List(protocol.BodyTarget, "generatedFields", metadata)
ls0.Start()
for _, v1 := range v {
ls0.ListAddFields(v1)
}
ls0.End()
}
return nil
}
// Contains the value of a column.
//
//