aws-sdk-rdsdataservice 1.36.0 → 1.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -88,17 +88,17 @@ module Aws::RDSDataService
88
88
 
89
89
  ArrayOfArray.member = Shapes::ShapeRef.new(shape: ArrayValue)
90
90
 
91
- ArrayValue.add_member(:array_values, Shapes::ShapeRef.new(shape: ArrayOfArray, location_name: "arrayValues"))
92
91
  ArrayValue.add_member(:boolean_values, Shapes::ShapeRef.new(shape: BooleanArray, location_name: "booleanValues"))
93
- ArrayValue.add_member(:double_values, Shapes::ShapeRef.new(shape: DoubleArray, location_name: "doubleValues"))
94
92
  ArrayValue.add_member(:long_values, Shapes::ShapeRef.new(shape: LongArray, location_name: "longValues"))
93
+ ArrayValue.add_member(:double_values, Shapes::ShapeRef.new(shape: DoubleArray, location_name: "doubleValues"))
95
94
  ArrayValue.add_member(:string_values, Shapes::ShapeRef.new(shape: StringArray, location_name: "stringValues"))
95
+ ArrayValue.add_member(:array_values, Shapes::ShapeRef.new(shape: ArrayOfArray, location_name: "arrayValues"))
96
96
  ArrayValue.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
97
- ArrayValue.add_member_subclass(:array_values, Types::ArrayValue::ArrayValues)
98
97
  ArrayValue.add_member_subclass(:boolean_values, Types::ArrayValue::BooleanValues)
99
- ArrayValue.add_member_subclass(:double_values, Types::ArrayValue::DoubleValues)
100
98
  ArrayValue.add_member_subclass(:long_values, Types::ArrayValue::LongValues)
99
+ ArrayValue.add_member_subclass(:double_values, Types::ArrayValue::DoubleValues)
101
100
  ArrayValue.add_member_subclass(:string_values, Types::ArrayValue::StringValues)
101
+ ArrayValue.add_member_subclass(:array_values, Types::ArrayValue::ArrayValues)
102
102
  ArrayValue.add_member_subclass(:unknown, Types::ArrayValue::Unknown)
103
103
  ArrayValue.struct_class = Types::ArrayValue
104
104
 
@@ -107,22 +107,22 @@ module Aws::RDSDataService
107
107
  BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
108
108
  BadRequestException.struct_class = Types::BadRequestException
109
109
 
110
- BatchExecuteStatementRequest.add_member(:database, Shapes::ShapeRef.new(shape: DbName, location_name: "database"))
111
- BatchExecuteStatementRequest.add_member(:parameter_sets, Shapes::ShapeRef.new(shape: SqlParameterSets, location_name: "parameterSets"))
112
110
  BatchExecuteStatementRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
113
- BatchExecuteStatementRequest.add_member(:schema, Shapes::ShapeRef.new(shape: DbName, location_name: "schema"))
114
111
  BatchExecuteStatementRequest.add_member(:secret_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "secretArn"))
115
112
  BatchExecuteStatementRequest.add_member(:sql, Shapes::ShapeRef.new(shape: SqlStatement, required: true, location_name: "sql"))
113
+ BatchExecuteStatementRequest.add_member(:database, Shapes::ShapeRef.new(shape: DbName, location_name: "database"))
114
+ BatchExecuteStatementRequest.add_member(:schema, Shapes::ShapeRef.new(shape: DbName, location_name: "schema"))
115
+ BatchExecuteStatementRequest.add_member(:parameter_sets, Shapes::ShapeRef.new(shape: SqlParameterSets, location_name: "parameterSets"))
116
116
  BatchExecuteStatementRequest.add_member(:transaction_id, Shapes::ShapeRef.new(shape: Id, location_name: "transactionId"))
117
117
  BatchExecuteStatementRequest.struct_class = Types::BatchExecuteStatementRequest
118
118
 
119
119
  BatchExecuteStatementResponse.add_member(:update_results, Shapes::ShapeRef.new(shape: UpdateResults, location_name: "updateResults"))
120
120
  BatchExecuteStatementResponse.struct_class = Types::BatchExecuteStatementResponse
121
121
 
122
- BeginTransactionRequest.add_member(:database, Shapes::ShapeRef.new(shape: DbName, location_name: "database"))
123
122
  BeginTransactionRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
124
- BeginTransactionRequest.add_member(:schema, Shapes::ShapeRef.new(shape: DbName, location_name: "schema"))
125
123
  BeginTransactionRequest.add_member(:secret_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "secretArn"))
124
+ BeginTransactionRequest.add_member(:database, Shapes::ShapeRef.new(shape: DbName, location_name: "database"))
125
+ BeginTransactionRequest.add_member(:schema, Shapes::ShapeRef.new(shape: DbName, location_name: "schema"))
126
126
  BeginTransactionRequest.struct_class = Types::BeginTransactionRequest
127
127
 
128
128
  BeginTransactionResponse.add_member(:transaction_id, Shapes::ShapeRef.new(shape: Id, location_name: "transactionId"))
@@ -130,20 +130,20 @@ module Aws::RDSDataService
130
130
 
131
131
  BooleanArray.member = Shapes::ShapeRef.new(shape: BoxedBoolean)
132
132
 
133
- ColumnMetadata.add_member(:array_base_column_type, Shapes::ShapeRef.new(shape: Integer, location_name: "arrayBaseColumnType"))
133
+ ColumnMetadata.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
134
+ ColumnMetadata.add_member(:type, Shapes::ShapeRef.new(shape: Integer, location_name: "type"))
135
+ ColumnMetadata.add_member(:type_name, Shapes::ShapeRef.new(shape: String, location_name: "typeName"))
136
+ ColumnMetadata.add_member(:label, Shapes::ShapeRef.new(shape: String, location_name: "label"))
137
+ ColumnMetadata.add_member(:schema_name, Shapes::ShapeRef.new(shape: String, location_name: "schemaName"))
138
+ ColumnMetadata.add_member(:table_name, Shapes::ShapeRef.new(shape: String, location_name: "tableName"))
134
139
  ColumnMetadata.add_member(:is_auto_increment, Shapes::ShapeRef.new(shape: Boolean, location_name: "isAutoIncrement"))
135
- ColumnMetadata.add_member(:is_case_sensitive, Shapes::ShapeRef.new(shape: Boolean, location_name: "isCaseSensitive"))
136
- ColumnMetadata.add_member(:is_currency, Shapes::ShapeRef.new(shape: Boolean, location_name: "isCurrency"))
137
140
  ColumnMetadata.add_member(:is_signed, Shapes::ShapeRef.new(shape: Boolean, location_name: "isSigned"))
138
- ColumnMetadata.add_member(:label, Shapes::ShapeRef.new(shape: String, location_name: "label"))
139
- ColumnMetadata.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
141
+ ColumnMetadata.add_member(:is_currency, Shapes::ShapeRef.new(shape: Boolean, location_name: "isCurrency"))
142
+ ColumnMetadata.add_member(:is_case_sensitive, Shapes::ShapeRef.new(shape: Boolean, location_name: "isCaseSensitive"))
140
143
  ColumnMetadata.add_member(:nullable, Shapes::ShapeRef.new(shape: Integer, location_name: "nullable"))
141
144
  ColumnMetadata.add_member(:precision, Shapes::ShapeRef.new(shape: Integer, location_name: "precision"))
142
145
  ColumnMetadata.add_member(:scale, Shapes::ShapeRef.new(shape: Integer, location_name: "scale"))
143
- ColumnMetadata.add_member(:schema_name, Shapes::ShapeRef.new(shape: String, location_name: "schemaName"))
144
- ColumnMetadata.add_member(:table_name, Shapes::ShapeRef.new(shape: String, location_name: "tableName"))
145
- ColumnMetadata.add_member(:type, Shapes::ShapeRef.new(shape: Integer, location_name: "type"))
146
- ColumnMetadata.add_member(:type_name, Shapes::ShapeRef.new(shape: String, location_name: "typeName"))
146
+ ColumnMetadata.add_member(:array_base_column_type, Shapes::ShapeRef.new(shape: Integer, location_name: "arrayBaseColumnType"))
147
147
  ColumnMetadata.struct_class = Types::ColumnMetadata
148
148
 
149
149
  CommitTransactionRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
@@ -156,51 +156,51 @@ module Aws::RDSDataService
156
156
 
157
157
  DoubleArray.member = Shapes::ShapeRef.new(shape: BoxedDouble)
158
158
 
159
+ ExecuteSqlRequest.add_member(:db_cluster_or_instance_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "dbClusterOrInstanceArn"))
159
160
  ExecuteSqlRequest.add_member(:aws_secret_store_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "awsSecretStoreArn"))
161
+ ExecuteSqlRequest.add_member(:sql_statements, Shapes::ShapeRef.new(shape: SqlStatement, required: true, location_name: "sqlStatements"))
160
162
  ExecuteSqlRequest.add_member(:database, Shapes::ShapeRef.new(shape: DbName, location_name: "database"))
161
- ExecuteSqlRequest.add_member(:db_cluster_or_instance_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "dbClusterOrInstanceArn"))
162
163
  ExecuteSqlRequest.add_member(:schema, Shapes::ShapeRef.new(shape: DbName, location_name: "schema"))
163
- ExecuteSqlRequest.add_member(:sql_statements, Shapes::ShapeRef.new(shape: SqlStatement, required: true, location_name: "sqlStatements"))
164
164
  ExecuteSqlRequest.struct_class = Types::ExecuteSqlRequest
165
165
 
166
166
  ExecuteSqlResponse.add_member(:sql_statement_results, Shapes::ShapeRef.new(shape: SqlStatementResults, location_name: "sqlStatementResults"))
167
167
  ExecuteSqlResponse.struct_class = Types::ExecuteSqlResponse
168
168
 
169
- ExecuteStatementRequest.add_member(:continue_after_timeout, Shapes::ShapeRef.new(shape: Boolean, location_name: "continueAfterTimeout"))
170
- ExecuteStatementRequest.add_member(:database, Shapes::ShapeRef.new(shape: DbName, location_name: "database"))
171
- ExecuteStatementRequest.add_member(:format_records_as, Shapes::ShapeRef.new(shape: RecordsFormatType, location_name: "formatRecordsAs"))
172
- ExecuteStatementRequest.add_member(:include_result_metadata, Shapes::ShapeRef.new(shape: Boolean, location_name: "includeResultMetadata"))
173
- ExecuteStatementRequest.add_member(:parameters, Shapes::ShapeRef.new(shape: SqlParametersList, location_name: "parameters"))
174
169
  ExecuteStatementRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
175
- ExecuteStatementRequest.add_member(:result_set_options, Shapes::ShapeRef.new(shape: ResultSetOptions, location_name: "resultSetOptions"))
176
- ExecuteStatementRequest.add_member(:schema, Shapes::ShapeRef.new(shape: DbName, location_name: "schema"))
177
170
  ExecuteStatementRequest.add_member(:secret_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "secretArn"))
178
171
  ExecuteStatementRequest.add_member(:sql, Shapes::ShapeRef.new(shape: SqlStatement, required: true, location_name: "sql"))
172
+ ExecuteStatementRequest.add_member(:database, Shapes::ShapeRef.new(shape: DbName, location_name: "database"))
173
+ ExecuteStatementRequest.add_member(:schema, Shapes::ShapeRef.new(shape: DbName, location_name: "schema"))
174
+ ExecuteStatementRequest.add_member(:parameters, Shapes::ShapeRef.new(shape: SqlParametersList, location_name: "parameters"))
179
175
  ExecuteStatementRequest.add_member(:transaction_id, Shapes::ShapeRef.new(shape: Id, location_name: "transactionId"))
176
+ ExecuteStatementRequest.add_member(:include_result_metadata, Shapes::ShapeRef.new(shape: Boolean, location_name: "includeResultMetadata"))
177
+ ExecuteStatementRequest.add_member(:continue_after_timeout, Shapes::ShapeRef.new(shape: Boolean, location_name: "continueAfterTimeout"))
178
+ ExecuteStatementRequest.add_member(:result_set_options, Shapes::ShapeRef.new(shape: ResultSetOptions, location_name: "resultSetOptions"))
179
+ ExecuteStatementRequest.add_member(:format_records_as, Shapes::ShapeRef.new(shape: RecordsFormatType, location_name: "formatRecordsAs"))
180
180
  ExecuteStatementRequest.struct_class = Types::ExecuteStatementRequest
181
181
 
182
+ ExecuteStatementResponse.add_member(:records, Shapes::ShapeRef.new(shape: SqlRecords, location_name: "records"))
182
183
  ExecuteStatementResponse.add_member(:column_metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "columnMetadata"))
183
- ExecuteStatementResponse.add_member(:formatted_records, Shapes::ShapeRef.new(shape: FormattedSqlRecords, location_name: "formattedRecords"))
184
- ExecuteStatementResponse.add_member(:generated_fields, Shapes::ShapeRef.new(shape: FieldList, location_name: "generatedFields"))
185
184
  ExecuteStatementResponse.add_member(:number_of_records_updated, Shapes::ShapeRef.new(shape: RecordsUpdated, location_name: "numberOfRecordsUpdated"))
186
- ExecuteStatementResponse.add_member(:records, Shapes::ShapeRef.new(shape: SqlRecords, location_name: "records"))
185
+ ExecuteStatementResponse.add_member(:generated_fields, Shapes::ShapeRef.new(shape: FieldList, location_name: "generatedFields"))
186
+ ExecuteStatementResponse.add_member(:formatted_records, Shapes::ShapeRef.new(shape: FormattedSqlRecords, location_name: "formattedRecords"))
187
187
  ExecuteStatementResponse.struct_class = Types::ExecuteStatementResponse
188
188
 
189
- Field.add_member(:array_value, Shapes::ShapeRef.new(shape: ArrayValue, location_name: "arrayValue"))
190
- Field.add_member(:blob_value, Shapes::ShapeRef.new(shape: Blob, location_name: "blobValue"))
191
- Field.add_member(:boolean_value, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "booleanValue"))
192
- Field.add_member(:double_value, Shapes::ShapeRef.new(shape: BoxedDouble, location_name: "doubleValue"))
193
189
  Field.add_member(:is_null, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "isNull"))
190
+ Field.add_member(:boolean_value, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "booleanValue"))
194
191
  Field.add_member(:long_value, Shapes::ShapeRef.new(shape: BoxedLong, location_name: "longValue"))
192
+ Field.add_member(:double_value, Shapes::ShapeRef.new(shape: BoxedDouble, location_name: "doubleValue"))
195
193
  Field.add_member(:string_value, Shapes::ShapeRef.new(shape: String, location_name: "stringValue"))
194
+ Field.add_member(:blob_value, Shapes::ShapeRef.new(shape: Blob, location_name: "blobValue"))
195
+ Field.add_member(:array_value, Shapes::ShapeRef.new(shape: ArrayValue, location_name: "arrayValue"))
196
196
  Field.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
197
- Field.add_member_subclass(:array_value, Types::Field::ArrayValue)
198
- Field.add_member_subclass(:blob_value, Types::Field::BlobValue)
199
- Field.add_member_subclass(:boolean_value, Types::Field::BooleanValue)
200
- Field.add_member_subclass(:double_value, Types::Field::DoubleValue)
201
197
  Field.add_member_subclass(:is_null, Types::Field::IsNull)
198
+ Field.add_member_subclass(:boolean_value, Types::Field::BooleanValue)
202
199
  Field.add_member_subclass(:long_value, Types::Field::LongValue)
200
+ Field.add_member_subclass(:double_value, Types::Field::DoubleValue)
203
201
  Field.add_member_subclass(:string_value, Types::Field::StringValue)
202
+ Field.add_member_subclass(:blob_value, Types::Field::BlobValue)
203
+ Field.add_member_subclass(:array_value, Types::Field::ArrayValue)
204
204
  Field.add_member_subclass(:unknown, Types::Field::Unknown)
205
205
  Field.struct_class = Types::Field
206
206
 
@@ -223,8 +223,8 @@ module Aws::RDSDataService
223
223
 
224
224
  Records.member = Shapes::ShapeRef.new(shape: Record)
225
225
 
226
- ResultFrame.add_member(:records, Shapes::ShapeRef.new(shape: Records, location_name: "records"))
227
226
  ResultFrame.add_member(:result_set_metadata, Shapes::ShapeRef.new(shape: ResultSetMetadata, location_name: "resultSetMetadata"))
227
+ ResultFrame.add_member(:records, Shapes::ShapeRef.new(shape: Records, location_name: "records"))
228
228
  ResultFrame.struct_class = Types::ResultFrame
229
229
 
230
230
  ResultSetMetadata.add_member(:column_count, Shapes::ShapeRef.new(shape: Long, location_name: "columnCount"))
@@ -248,8 +248,8 @@ module Aws::RDSDataService
248
248
  ServiceUnavailableError.struct_class = Types::ServiceUnavailableError
249
249
 
250
250
  SqlParameter.add_member(:name, Shapes::ShapeRef.new(shape: ParameterName, location_name: "name"))
251
- SqlParameter.add_member(:type_hint, Shapes::ShapeRef.new(shape: TypeHint, location_name: "typeHint"))
252
251
  SqlParameter.add_member(:value, Shapes::ShapeRef.new(shape: Field, location_name: "value"))
252
+ SqlParameter.add_member(:type_hint, Shapes::ShapeRef.new(shape: TypeHint, location_name: "typeHint"))
253
253
  SqlParameter.struct_class = Types::SqlParameter
254
254
 
255
255
  SqlParameterSets.member = Shapes::ShapeRef.new(shape: SqlParametersList)
@@ -258,14 +258,14 @@ module Aws::RDSDataService
258
258
 
259
259
  SqlRecords.member = Shapes::ShapeRef.new(shape: FieldList)
260
260
 
261
- SqlStatementResult.add_member(:number_of_records_updated, Shapes::ShapeRef.new(shape: RecordsUpdated, location_name: "numberOfRecordsUpdated"))
262
261
  SqlStatementResult.add_member(:result_frame, Shapes::ShapeRef.new(shape: ResultFrame, location_name: "resultFrame"))
262
+ SqlStatementResult.add_member(:number_of_records_updated, Shapes::ShapeRef.new(shape: RecordsUpdated, location_name: "numberOfRecordsUpdated"))
263
263
  SqlStatementResult.struct_class = Types::SqlStatementResult
264
264
 
265
265
  SqlStatementResults.member = Shapes::ShapeRef.new(shape: SqlStatementResult)
266
266
 
267
- StatementTimeoutException.add_member(:db_connection_id, Shapes::ShapeRef.new(shape: Long, location_name: "dbConnectionId"))
268
267
  StatementTimeoutException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
268
+ StatementTimeoutException.add_member(:db_connection_id, Shapes::ShapeRef.new(shape: Long, location_name: "dbConnectionId"))
269
269
  StatementTimeoutException.struct_class = Types::StatementTimeoutException
270
270
 
271
271
  StringArray.member = Shapes::ShapeRef.new(shape: String)
@@ -278,26 +278,26 @@ module Aws::RDSDataService
278
278
 
279
279
  UpdateResults.member = Shapes::ShapeRef.new(shape: UpdateResult)
280
280
 
281
- Value.add_member(:array_values, Shapes::ShapeRef.new(shape: ArrayValueList, location_name: "arrayValues"))
282
- Value.add_member(:big_int_value, Shapes::ShapeRef.new(shape: BoxedLong, location_name: "bigIntValue"))
281
+ Value.add_member(:is_null, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "isNull"))
283
282
  Value.add_member(:bit_value, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "bitValue"))
284
- Value.add_member(:blob_value, Shapes::ShapeRef.new(shape: Blob, location_name: "blobValue"))
285
- Value.add_member(:double_value, Shapes::ShapeRef.new(shape: BoxedDouble, location_name: "doubleValue"))
283
+ Value.add_member(:big_int_value, Shapes::ShapeRef.new(shape: BoxedLong, location_name: "bigIntValue"))
286
284
  Value.add_member(:int_value, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "intValue"))
287
- Value.add_member(:is_null, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "isNull"))
285
+ Value.add_member(:double_value, Shapes::ShapeRef.new(shape: BoxedDouble, location_name: "doubleValue"))
288
286
  Value.add_member(:real_value, Shapes::ShapeRef.new(shape: BoxedFloat, location_name: "realValue"))
289
287
  Value.add_member(:string_value, Shapes::ShapeRef.new(shape: String, location_name: "stringValue"))
288
+ Value.add_member(:blob_value, Shapes::ShapeRef.new(shape: Blob, location_name: "blobValue"))
289
+ Value.add_member(:array_values, Shapes::ShapeRef.new(shape: ArrayValueList, location_name: "arrayValues"))
290
290
  Value.add_member(:struct_value, Shapes::ShapeRef.new(shape: StructValue, location_name: "structValue"))
291
291
  Value.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
292
- Value.add_member_subclass(:array_values, Types::Value::ArrayValues)
293
- Value.add_member_subclass(:big_int_value, Types::Value::BigIntValue)
292
+ Value.add_member_subclass(:is_null, Types::Value::IsNull)
294
293
  Value.add_member_subclass(:bit_value, Types::Value::BitValue)
295
- Value.add_member_subclass(:blob_value, Types::Value::BlobValue)
296
- Value.add_member_subclass(:double_value, Types::Value::DoubleValue)
294
+ Value.add_member_subclass(:big_int_value, Types::Value::BigIntValue)
297
295
  Value.add_member_subclass(:int_value, Types::Value::IntValue)
298
- Value.add_member_subclass(:is_null, Types::Value::IsNull)
296
+ Value.add_member_subclass(:double_value, Types::Value::DoubleValue)
299
297
  Value.add_member_subclass(:real_value, Types::Value::RealValue)
300
298
  Value.add_member_subclass(:string_value, Types::Value::StringValue)
299
+ Value.add_member_subclass(:blob_value, Types::Value::BlobValue)
300
+ Value.add_member_subclass(:array_values, Types::Value::ArrayValues)
301
301
  Value.add_member_subclass(:struct_value, Types::Value::StructValue)
302
302
  Value.add_member_subclass(:unknown, Types::Value::Unknown)
303
303
  Value.struct_class = Types::Value
@@ -131,13 +131,13 @@ module Aws::RDSDataService
131
131
  end
132
132
 
133
133
  # @return [String]
134
- def db_connection_id
135
- @data[:db_connection_id]
134
+ def message
135
+ @message || @data[:message]
136
136
  end
137
137
 
138
138
  # @return [String]
139
- def message
140
- @message || @data[:message]
139
+ def db_connection_id
140
+ @data[:db_connection_id]
141
141
  end
142
142
  end
143
143