package types
import "github.com/aws/aws-sdk-go-v2/service/rdsdata/types"
Index ¶
- type ArrayValue
- type ArrayValueMemberArrayValues
- type ArrayValueMemberBooleanValues
- type ArrayValueMemberDoubleValues
- type ArrayValueMemberLongValues
- type ArrayValueMemberStringValues
- type BadRequestException
- func (e *BadRequestException) Error() string
- func (e *BadRequestException) ErrorCode() string
- func (e *BadRequestException) ErrorFault() smithy.ErrorFault
- func (e *BadRequestException) ErrorMessage() string
- type ColumnMetadata
- type DecimalReturnType
- type Field
- type FieldMemberArrayValue
- type FieldMemberBlobValue
- type FieldMemberBooleanValue
- type FieldMemberDoubleValue
- type FieldMemberIsNull
- type FieldMemberLongValue
- type FieldMemberStringValue
- type ForbiddenException
- func (e *ForbiddenException) Error() string
- func (e *ForbiddenException) ErrorCode() string
- func (e *ForbiddenException) ErrorFault() smithy.ErrorFault
- func (e *ForbiddenException) ErrorMessage() string
- type InternalServerErrorException
- func (e *InternalServerErrorException) Error() string
- func (e *InternalServerErrorException) ErrorCode() string
- func (e *InternalServerErrorException) ErrorFault() smithy.ErrorFault
- func (e *InternalServerErrorException) ErrorMessage() string
- type NotFoundException
- func (e *NotFoundException) Error() string
- func (e *NotFoundException) ErrorCode() string
- func (e *NotFoundException) ErrorFault() smithy.ErrorFault
- func (e *NotFoundException) ErrorMessage() string
- type Record
- type ResultFrame
- type ResultSetMetadata
- type ResultSetOptions
- type ServiceUnavailableError
- func (e *ServiceUnavailableError) Error() string
- func (e *ServiceUnavailableError) ErrorCode() string
- func (e *ServiceUnavailableError) ErrorFault() smithy.ErrorFault
- func (e *ServiceUnavailableError) ErrorMessage() string
- type SqlParameter
- type SqlStatementResult
- type StatementTimeoutException
- func (e *StatementTimeoutException) Error() string
- func (e *StatementTimeoutException) ErrorCode() string
- func (e *StatementTimeoutException) ErrorFault() smithy.ErrorFault
- func (e *StatementTimeoutException) ErrorMessage() string
- type StructValue
- type TypeHint
- type UnknownUnionMember
- type UpdateResult
- type Value
- type ValueMemberArrayValues
- type ValueMemberBigIntValue
- type ValueMemberBitValue
- type ValueMemberBlobValue
- type ValueMemberDoubleValue
- type ValueMemberIntValue
- type ValueMemberIsNull
- type ValueMemberRealValue
- type ValueMemberStringValue
- type ValueMemberStructValue
Types ¶
type ArrayValue ¶
type ArrayValue interface {
// contains filtered or unexported methods
}
Contains an array.
type ArrayValueMemberArrayValues ¶
type ArrayValueMemberArrayValues struct { Value []ArrayValue }
An array of arrays.
type ArrayValueMemberBooleanValues ¶
type ArrayValueMemberBooleanValues struct { Value []*bool }
An array of Boolean values.
type ArrayValueMemberDoubleValues ¶
type ArrayValueMemberDoubleValues struct { Value []*float64 }
An array of integers.
type ArrayValueMemberLongValues ¶
type ArrayValueMemberLongValues struct { Value []*int64 }
An array of floating point numbers.
type ArrayValueMemberStringValues ¶
type ArrayValueMemberStringValues struct { Value []*string }
An array of strings.
type BadRequestException ¶
type BadRequestException struct { Message *string }
There is an error in the call or in a SQL statement.
func (*BadRequestException) Error ¶
func (e *BadRequestException) Error() string
func (*BadRequestException) ErrorCode ¶
func (e *BadRequestException) ErrorCode() string
func (*BadRequestException) ErrorFault ¶
func (e *BadRequestException) ErrorFault() smithy.ErrorFault
func (*BadRequestException) ErrorMessage ¶
func (e *BadRequestException) ErrorMessage() string
type ColumnMetadata ¶
type ColumnMetadata struct { // The type of the column. ArrayBaseColumnType *int32 // A value that indicates whether the column increments automatically. IsAutoIncrement *bool // A value that indicates whether the column is case-sensitive. IsCaseSensitive *bool // A value that indicates whether the column contains currency values. IsCurrency *bool // A value that indicates whether an integer column is signed. IsSigned *bool // The label for the column. Label *string // The name of the column. Name *string // A value that indicates whether the column is nullable. Nullable *int32 // The precision value of a decimal number column. Precision *int32 // The scale value of a decimal number column. Scale *int32 // The name of the schema that owns the table that includes the column. SchemaName *string // The name of the table that includes the column. TableName *string // The type of the column. Type *int32 // The database-specific data type of the column. TypeName *string }
Contains the metadata for a column.
type DecimalReturnType ¶
type DecimalReturnType string
const ( DecimalReturnTypeString DecimalReturnType = "STRING" DecimalReturnTypeDouble_or_long DecimalReturnType = "DOUBLE_OR_LONG" )
Enum values for DecimalReturnType
type Field ¶
type Field interface {
// contains filtered or unexported methods
}
Contains a value.
type FieldMemberArrayValue ¶
type FieldMemberArrayValue struct { Value ArrayValue }
An array of values.
type FieldMemberBlobValue ¶
type FieldMemberBlobValue struct { Value []byte }
A value of BLOB data type.
type FieldMemberBooleanValue ¶
type FieldMemberBooleanValue struct { Value bool }
A value of Boolean data type.
type FieldMemberDoubleValue ¶
type FieldMemberDoubleValue struct { Value float64 }
A value of double data type.
type FieldMemberIsNull ¶
type FieldMemberIsNull struct { Value bool }
A NULL value.
type FieldMemberLongValue ¶
type FieldMemberLongValue struct { Value int64 }
A value of long data type.
type FieldMemberStringValue ¶
type FieldMemberStringValue struct { Value string }
A value of string data type.
type ForbiddenException ¶
type ForbiddenException struct { Message *string }
There are insufficient privileges to make the call.
func (*ForbiddenException) Error ¶
func (e *ForbiddenException) Error() string
func (*ForbiddenException) ErrorCode ¶
func (e *ForbiddenException) ErrorCode() string
func (*ForbiddenException) ErrorFault ¶
func (e *ForbiddenException) ErrorFault() smithy.ErrorFault
func (*ForbiddenException) ErrorMessage ¶
func (e *ForbiddenException) ErrorMessage() string
type InternalServerErrorException ¶
type InternalServerErrorException struct { Message *string }
An internal error occurred.
func (*InternalServerErrorException) Error ¶
func (e *InternalServerErrorException) Error() string
func (*InternalServerErrorException) ErrorCode ¶
func (e *InternalServerErrorException) ErrorCode() string
func (*InternalServerErrorException) ErrorFault ¶
func (e *InternalServerErrorException) ErrorFault() smithy.ErrorFault
func (*InternalServerErrorException) ErrorMessage ¶
func (e *InternalServerErrorException) ErrorMessage() string
type NotFoundException ¶
type NotFoundException struct { Message *string }
The resourceArn, secretArn, or transactionId value can't be found.
func (*NotFoundException) Error ¶
func (e *NotFoundException) Error() string
func (*NotFoundException) ErrorCode ¶
func (e *NotFoundException) ErrorCode() string
func (*NotFoundException) ErrorFault ¶
func (e *NotFoundException) ErrorFault() smithy.ErrorFault
func (*NotFoundException) ErrorMessage ¶
func (e *NotFoundException) ErrorMessage() string
type Record ¶
type Record struct { // The values returned in the record. Values []Value }
A record returned by a call.
type ResultFrame ¶
type ResultFrame struct { // The records in the result set. Records []*Record // The result-set metadata in the result set. ResultSetMetadata *ResultSetMetadata }
The result set returned by a SQL statement.
type ResultSetMetadata ¶
type ResultSetMetadata struct { // The number of columns in the result set. ColumnCount *int64 // The metadata of the columns in the result set. ColumnMetadata []*ColumnMetadata }
The metadata of the result set returned by a SQL statement.
type ResultSetOptions ¶
type ResultSetOptions struct { // A value that indicates how a field of DECIMAL type is represented in the // response. The value of STRING, the default, specifies that it is converted to a // String value. The value of DOUBLE_OR_LONG specifies that it is converted to a // Long value if its scale is 0, or to a Double value otherwise. Conversion to // Double or Long can result in roundoff errors due to precision loss. We recommend // converting to String, especially when working with currency values. DecimalReturnType DecimalReturnType }
Options that control how the result set is returned.
type ServiceUnavailableError ¶
type ServiceUnavailableError struct { string }*
The service specified by the resourceArn parameter is not available.
func (*ServiceUnavailableError) Error ¶
func (e *ServiceUnavailableError) Error() string
func (*ServiceUnavailableError) ErrorCode ¶
func (e *ServiceUnavailableError) ErrorCode() string
func (*ServiceUnavailableError) ErrorFault ¶
func (e *ServiceUnavailableError) ErrorFault() smithy.ErrorFault
func (*ServiceUnavailableError) ErrorMessage ¶
func (e *ServiceUnavailableError) ErrorMessage() string
type SqlParameter ¶
type SqlParameter struct { // The name of the parameter. Name *string // A hint that specifies the correct object type for data type mapping. Values: // // // * DECIMAL - The corresponding String parameter value is sent as an object of // DECIMAL type to the database. // // * TIMESTAMP - The corresponding String // parameter value is sent as an object of TIMESTAMP type to the database. The // accepted format is YYYY-MM-DD HH:MM:SS[.FFF]. // // * TIME - The corresponding // String parameter value is sent as an object of TIME type to the database. The // accepted format is HH:MM:SS[.FFF]. // // * DATE - The corresponding String // parameter value is sent as an object of DATE type to the database. The accepted // format is YYYY-MM-DD. TypeHint TypeHint // The value of the parameter. Value Field }
A parameter used in a SQL statement.
type SqlStatementResult ¶
type SqlStatementResult struct { // The number of records updated by a SQL statement. NumberOfRecordsUpdated *int64 // The result set of the SQL statement. ResultFrame *ResultFrame }
The result of a SQL statement. This data type is deprecated.
type StatementTimeoutException ¶
The execution of the SQL statement timed out.
func (*StatementTimeoutException) Error ¶
func (e *StatementTimeoutException) Error() string
func (*StatementTimeoutException) ErrorCode ¶
func (e *StatementTimeoutException) ErrorCode() string
func (*StatementTimeoutException) ErrorFault ¶
func (e *StatementTimeoutException) ErrorFault() smithy.ErrorFault
func (*StatementTimeoutException) ErrorMessage ¶
func (e *StatementTimeoutException) ErrorMessage() string
type StructValue ¶
type StructValue struct { // The attributes returned in the record. Attributes []Value }
A structure value returned by a call.
type TypeHint ¶
type TypeHint string
const ( TypeHintTimestamp TypeHint = "TIMESTAMP" TypeHintDate TypeHint = "DATE" TypeHintTime TypeHint = "TIME" TypeHintDecimal TypeHint = "DECIMAL" )
Enum values for TypeHint
type UnknownUnionMember ¶
UnknownUnionMember is returned when a union member is returned over the wire, but has an unknown tag.
type UpdateResult ¶
type UpdateResult struct { // Values for fields generated during the request. GeneratedFields []Field }
The response elements represent the results of an update.
type Value ¶
type Value interface {
// contains filtered or unexported methods
}
Contains the value of a column. This data type is deprecated.
type ValueMemberArrayValues ¶
type ValueMemberArrayValues struct { Value []Value }
An array of column values.
type ValueMemberBigIntValue ¶
type ValueMemberBigIntValue struct { Value int64 }
A value for a column of big integer data type.
type ValueMemberBitValue ¶
type ValueMemberBitValue struct { Value bool }
A value for a column of BIT data type.
type ValueMemberBlobValue ¶
type ValueMemberBlobValue struct { Value []byte }
A value for a column of BLOB data type.
type ValueMemberDoubleValue ¶
type ValueMemberDoubleValue struct { Value float64 }
A value for a column of double data type.
type ValueMemberIntValue ¶
type ValueMemberIntValue struct { Value int32 }
A value for a column of integer data type.
type ValueMemberIsNull ¶
type ValueMemberIsNull struct { Value bool }
A NULL value.
type ValueMemberRealValue ¶
type ValueMemberRealValue struct { Value float32 }
A value for a column of real data type.
type ValueMemberStringValue ¶
type ValueMemberStringValue struct { Value string }
A value for a column of string data type.
type ValueMemberStructValue ¶
type ValueMemberStructValue struct { Value *StructValue }
A value for a column of STRUCT data type.
Source Files ¶
- Version
- v0.28.0
- Published
- Oct 26, 2020
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 1 hour ago –
Tools for package owners.