Class: Aws::RDSDataService::Types::ExecuteStatementResponse
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::RDSDataService::Types::ExecuteStatementResponse
 
 
- Includes:
 - Structure
 
- Defined in:
 - lib/aws-sdk-rdsdataservice/types.rb
 
Overview
The response elements represent the output of a request to run a SQL statement against a database.
Constant Summary collapse
- SENSITIVE =
 []
Instance Attribute Summary collapse
- 
  
    
      #column_metadata  ⇒ Array<Types::ColumnMetadata> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Metadata for the columns included in the results.
 - 
  
    
      #formatted_records  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A string value that represents the result set of a ‘SELECT` statement in JSON format.
 - 
  
    
      #generated_fields  ⇒ Array<Types::Field> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Values for fields generated during a DML request.
 - 
  
    
      #number_of_records_updated  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The number of records updated by the request.
 - 
  
    
      #records  ⇒ Array<Array<Types::Field>> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The records returned by the SQL statement.
 
Instance Attribute Details
#column_metadata ⇒ Array<Types::ColumnMetadata>
Metadata for the columns included in the results. This field is blank if the ‘formatRecordsAs` parameter is set to `JSON`.
      590 591 592 593 594 595 596 597 598  | 
    
      # File 'lib/aws-sdk-rdsdataservice/types.rb', line 590 class ExecuteStatementResponse < Struct.new( :records, :column_metadata, :number_of_records_updated, :generated_fields, :formatted_records) SENSITIVE = [] include Aws::Structure end  | 
  
#formatted_records ⇒ String
A string value that represents the result set of a ‘SELECT` statement in JSON format. This value is only present when the `formatRecordsAs` parameter is set to `JSON`.
The size limit for this field is currently 10 MB. If the JSON-formatted string representing the result set requires more than 10 MB, the call returns an error.
      590 591 592 593 594 595 596 597 598  | 
    
      # File 'lib/aws-sdk-rdsdataservice/types.rb', line 590 class ExecuteStatementResponse < Struct.new( :records, :column_metadata, :number_of_records_updated, :generated_fields, :formatted_records) SENSITIVE = [] include Aws::Structure end  | 
  
#generated_fields ⇒ Array<Types::Field>
Values for fields generated during a DML request.
<note markdown=“1”> The ‘generatedFields` data isn’t supported by Aurora PostgreSQL. To get the values of generated fields, use the ‘RETURNING` clause. For more information, see [Returning Data From Modified Rows] in the PostgreSQL documentation.
</note>
  
      590 591 592 593 594 595 596 597 598  | 
    
      # File 'lib/aws-sdk-rdsdataservice/types.rb', line 590 class ExecuteStatementResponse < Struct.new( :records, :column_metadata, :number_of_records_updated, :generated_fields, :formatted_records) SENSITIVE = [] include Aws::Structure end  | 
  
#number_of_records_updated ⇒ Integer
The number of records updated by the request.
      590 591 592 593 594 595 596 597 598  | 
    
      # File 'lib/aws-sdk-rdsdataservice/types.rb', line 590 class ExecuteStatementResponse < Struct.new( :records, :column_metadata, :number_of_records_updated, :generated_fields, :formatted_records) SENSITIVE = [] include Aws::Structure end  | 
  
#records ⇒ Array<Array<Types::Field>>
The records returned by the SQL statement. This field is blank if the ‘formatRecordsAs` parameter is set to `JSON`.
      590 591 592 593 594 595 596 597 598  | 
    
      # File 'lib/aws-sdk-rdsdataservice/types.rb', line 590 class ExecuteStatementResponse < Struct.new( :records, :column_metadata, :number_of_records_updated, :generated_fields, :formatted_records) SENSITIVE = [] include Aws::Structure end  |