Versions in this module Expand all Collapse all v0 v0.23.3 Jun 25, 2020 v0.23.2 Jun 25, 2020 Changes in this version + const EndpointsID + const ErrCodeBadRequestException + const ErrCodeForbiddenException + const ErrCodeInternalServerErrorException + const ErrCodeNotFoundException + const ErrCodeServiceUnavailableError + const ErrCodeStatementTimeoutException + const ServiceID + const ServiceName + type ArrayValue struct + ArrayValues []ArrayValue + BooleanValues []bool + DoubleValues []float64 + LongValues []int64 + StringValues []string + func (s ArrayValue) MarshalFields(e protocol.FieldEncoder) error + func (s ArrayValue) String() string + type BatchExecuteStatementInput struct + Database *string + ParameterSets [][]SqlParameter + ResourceArn *string + Schema *string + SecretArn *string + Sql *string + TransactionId *string + func (s *BatchExecuteStatementInput) Validate() error + func (s BatchExecuteStatementInput) MarshalFields(e protocol.FieldEncoder) error + func (s BatchExecuteStatementInput) String() string + type BatchExecuteStatementOutput struct + UpdateResults []UpdateResult + func (s BatchExecuteStatementOutput) MarshalFields(e protocol.FieldEncoder) error + func (s BatchExecuteStatementOutput) String() string + type BatchExecuteStatementRequest struct + Copy func(*BatchExecuteStatementInput) BatchExecuteStatementRequest + Input *BatchExecuteStatementInput + func (r BatchExecuteStatementRequest) Send(ctx context.Context) (*BatchExecuteStatementResponse, error) + type BatchExecuteStatementResponse struct + func (r *BatchExecuteStatementResponse) SDKResponseMetdata() *aws.Response + type BeginTransactionInput struct + Database *string + ResourceArn *string + Schema *string + SecretArn *string + func (s *BeginTransactionInput) Validate() error + func (s BeginTransactionInput) MarshalFields(e protocol.FieldEncoder) error + func (s BeginTransactionInput) String() string + type BeginTransactionOutput struct + TransactionId *string + func (s BeginTransactionOutput) MarshalFields(e protocol.FieldEncoder) error + func (s BeginTransactionOutput) String() string + type BeginTransactionRequest struct + Copy func(*BeginTransactionInput) BeginTransactionRequest + Input *BeginTransactionInput + func (r BeginTransactionRequest) Send(ctx context.Context) (*BeginTransactionResponse, error) + type BeginTransactionResponse struct + func (r *BeginTransactionResponse) SDKResponseMetdata() *aws.Response + type Client struct + func New(config aws.Config) *Client + func (c *Client) BatchExecuteStatementRequest(input *BatchExecuteStatementInput) BatchExecuteStatementRequest + func (c *Client) BeginTransactionRequest(input *BeginTransactionInput) BeginTransactionRequest + func (c *Client) CommitTransactionRequest(input *CommitTransactionInput) CommitTransactionRequest + func (c *Client) ExecuteSqlRequest(input *ExecuteSqlInput) ExecuteSqlRequest + func (c *Client) ExecuteStatementRequest(input *ExecuteStatementInput) ExecuteStatementRequest + func (c *Client) RollbackTransactionRequest(input *RollbackTransactionInput) RollbackTransactionRequest + type ColumnMetadata struct + ArrayBaseColumnType *int64 + IsAutoIncrement *bool + IsCaseSensitive *bool + IsCurrency *bool + IsSigned *bool + Label *string + Name *string + Nullable *int64 + Precision *int64 + Scale *int64 + SchemaName *string + TableName *string + Type *int64 + TypeName *string + func (s ColumnMetadata) MarshalFields(e protocol.FieldEncoder) error + func (s ColumnMetadata) String() string + type CommitTransactionInput struct + ResourceArn *string + SecretArn *string + TransactionId *string + func (s *CommitTransactionInput) Validate() error + func (s CommitTransactionInput) MarshalFields(e protocol.FieldEncoder) error + func (s CommitTransactionInput) String() string + type CommitTransactionOutput struct + TransactionStatus *string + func (s CommitTransactionOutput) MarshalFields(e protocol.FieldEncoder) error + func (s CommitTransactionOutput) String() string + type CommitTransactionRequest struct + Copy func(*CommitTransactionInput) CommitTransactionRequest + Input *CommitTransactionInput + func (r CommitTransactionRequest) Send(ctx context.Context) (*CommitTransactionResponse, error) + type CommitTransactionResponse struct + func (r *CommitTransactionResponse) SDKResponseMetdata() *aws.Response + type DecimalReturnType string + const DecimalReturnTypeDoubleOrLong + const DecimalReturnTypeString + func (enum DecimalReturnType) MarshalValue() (string, error) + func (enum DecimalReturnType) MarshalValueBuf(b []byte) ([]byte, error) + type ExecuteSqlInput struct + AwsSecretStoreArn *string + Database *string + DbClusterOrInstanceArn *string + Schema *string + SqlStatements *string + func (s *ExecuteSqlInput) Validate() error + func (s ExecuteSqlInput) MarshalFields(e protocol.FieldEncoder) error + func (s ExecuteSqlInput) String() string + type ExecuteSqlOutput struct + SqlStatementResults []SqlStatementResult + func (s ExecuteSqlOutput) MarshalFields(e protocol.FieldEncoder) error + func (s ExecuteSqlOutput) String() string + type ExecuteSqlRequest struct + Copy func(*ExecuteSqlInput) ExecuteSqlRequest + Input *ExecuteSqlInput + func (r ExecuteSqlRequest) Send(ctx context.Context) (*ExecuteSqlResponse, error) + type ExecuteSqlResponse struct + func (r *ExecuteSqlResponse) SDKResponseMetdata() *aws.Response + type ExecuteStatementInput struct + ContinueAfterTimeout *bool + Database *string + IncludeResultMetadata *bool + Parameters []SqlParameter + ResourceArn *string + ResultSetOptions *ResultSetOptions + Schema *string + SecretArn *string + Sql *string + TransactionId *string + func (s *ExecuteStatementInput) Validate() error + func (s ExecuteStatementInput) MarshalFields(e protocol.FieldEncoder) error + func (s ExecuteStatementInput) String() string + type ExecuteStatementOutput struct + ColumnMetadata []ColumnMetadata + GeneratedFields []Field + NumberOfRecordsUpdated *int64 + Records [][]Field + func (s ExecuteStatementOutput) MarshalFields(e protocol.FieldEncoder) error + func (s ExecuteStatementOutput) String() string + type ExecuteStatementRequest struct + Copy func(*ExecuteStatementInput) ExecuteStatementRequest + Input *ExecuteStatementInput + func (r ExecuteStatementRequest) Send(ctx context.Context) (*ExecuteStatementResponse, error) + type ExecuteStatementResponse struct + func (r *ExecuteStatementResponse) SDKResponseMetdata() *aws.Response + type Field struct + ArrayValue *ArrayValue + BlobValue []byte + BooleanValue *bool + DoubleValue *float64 + IsNull *bool + LongValue *int64 + StringValue *string + func (s Field) MarshalFields(e protocol.FieldEncoder) error + func (s Field) String() string + type Record struct + Values []Value + func (s Record) MarshalFields(e protocol.FieldEncoder) error + func (s Record) String() string + type ResultFrame struct + Records []Record + ResultSetMetadata *ResultSetMetadata + func (s ResultFrame) MarshalFields(e protocol.FieldEncoder) error + func (s ResultFrame) String() string + type ResultSetMetadata struct + ColumnCount *int64 + ColumnMetadata []ColumnMetadata + func (s ResultSetMetadata) MarshalFields(e protocol.FieldEncoder) error + func (s ResultSetMetadata) String() string + type ResultSetOptions struct + DecimalReturnType DecimalReturnType + func (s ResultSetOptions) MarshalFields(e protocol.FieldEncoder) error + func (s ResultSetOptions) String() string + type RollbackTransactionInput struct + ResourceArn *string + SecretArn *string + TransactionId *string + func (s *RollbackTransactionInput) Validate() error + func (s RollbackTransactionInput) MarshalFields(e protocol.FieldEncoder) error + func (s RollbackTransactionInput) String() string + type RollbackTransactionOutput struct + TransactionStatus *string + func (s RollbackTransactionOutput) MarshalFields(e protocol.FieldEncoder) error + func (s RollbackTransactionOutput) String() string + type RollbackTransactionRequest struct + Copy func(*RollbackTransactionInput) RollbackTransactionRequest + Input *RollbackTransactionInput + func (r RollbackTransactionRequest) Send(ctx context.Context) (*RollbackTransactionResponse, error) + type RollbackTransactionResponse struct + func (r *RollbackTransactionResponse) SDKResponseMetdata() *aws.Response + type SqlParameter struct + Name *string + TypeHint TypeHint + Value *Field + func (s SqlParameter) MarshalFields(e protocol.FieldEncoder) error + func (s SqlParameter) String() string + type SqlStatementResult struct + NumberOfRecordsUpdated *int64 + ResultFrame *ResultFrame + func (s SqlStatementResult) MarshalFields(e protocol.FieldEncoder) error + func (s SqlStatementResult) String() string + type StructValue struct + Attributes []Value + func (s StructValue) MarshalFields(e protocol.FieldEncoder) error + func (s StructValue) String() string + type TypeHint string + const TypeHintDate + const TypeHintDecimal + const TypeHintTime + const TypeHintTimestamp + func (enum TypeHint) MarshalValue() (string, error) + func (enum TypeHint) MarshalValueBuf(b []byte) ([]byte, error) + type UpdateResult struct + GeneratedFields []Field + func (s UpdateResult) MarshalFields(e protocol.FieldEncoder) error + func (s UpdateResult) String() string + type Value struct + ArrayValues []Value + BigIntValue *int64 + BitValue *bool + BlobValue []byte + DoubleValue *float64 + IntValue *int64 + IsNull *bool + RealValue *float64 + StringValue *string + StructValue *StructValue + func (s Value) MarshalFields(e protocol.FieldEncoder) error + func (s Value) String() string