aws-sdk-rdsdataservice 1.34.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.
@@ -13,6 +13,7 @@ module Aws::RDSDataService
13
13
 
14
14
  include Seahorse::Model
15
15
 
16
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
16
17
  Arn = Shapes::StringShape.new(name: 'Arn')
17
18
  ArrayOfArray = Shapes::ListShape.new(name: 'ArrayOfArray')
18
19
  ArrayValue = Shapes::UnionShape.new(name: 'ArrayValue')
@@ -44,16 +45,19 @@ module Aws::RDSDataService
44
45
  Field = Shapes::UnionShape.new(name: 'Field')
45
46
  FieldList = Shapes::ListShape.new(name: 'FieldList')
46
47
  ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
48
+ FormattedSqlRecords = Shapes::StringShape.new(name: 'FormattedSqlRecords')
47
49
  Id = Shapes::StringShape.new(name: 'Id')
48
50
  Integer = Shapes::IntegerShape.new(name: 'Integer')
49
51
  InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
50
52
  Long = Shapes::IntegerShape.new(name: 'Long')
51
53
  LongArray = Shapes::ListShape.new(name: 'LongArray')
54
+ LongReturnType = Shapes::StringShape.new(name: 'LongReturnType')
52
55
  Metadata = Shapes::ListShape.new(name: 'Metadata')
53
56
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
54
57
  ParameterName = Shapes::StringShape.new(name: 'ParameterName')
55
58
  Record = Shapes::StructureShape.new(name: 'Record')
56
59
  Records = Shapes::ListShape.new(name: 'Records')
60
+ RecordsFormatType = Shapes::StringShape.new(name: 'RecordsFormatType')
57
61
  RecordsUpdated = Shapes::IntegerShape.new(name: 'RecordsUpdated')
58
62
  ResultFrame = Shapes::StructureShape.new(name: 'ResultFrame')
59
63
  ResultSetMetadata = Shapes::StructureShape.new(name: 'ResultSetMetadata')
@@ -79,19 +83,22 @@ module Aws::RDSDataService
79
83
  UpdateResults = Shapes::ListShape.new(name: 'UpdateResults')
80
84
  Value = Shapes::UnionShape.new(name: 'Value')
81
85
 
86
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
87
+ AccessDeniedException.struct_class = Types::AccessDeniedException
88
+
82
89
  ArrayOfArray.member = Shapes::ShapeRef.new(shape: ArrayValue)
83
90
 
84
- ArrayValue.add_member(:array_values, Shapes::ShapeRef.new(shape: ArrayOfArray, location_name: "arrayValues"))
85
91
  ArrayValue.add_member(:boolean_values, Shapes::ShapeRef.new(shape: BooleanArray, location_name: "booleanValues"))
86
- ArrayValue.add_member(:double_values, Shapes::ShapeRef.new(shape: DoubleArray, location_name: "doubleValues"))
87
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"))
88
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"))
89
96
  ArrayValue.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
90
- ArrayValue.add_member_subclass(:array_values, Types::ArrayValue::ArrayValues)
91
97
  ArrayValue.add_member_subclass(:boolean_values, Types::ArrayValue::BooleanValues)
92
- ArrayValue.add_member_subclass(:double_values, Types::ArrayValue::DoubleValues)
93
98
  ArrayValue.add_member_subclass(:long_values, Types::ArrayValue::LongValues)
99
+ ArrayValue.add_member_subclass(:double_values, Types::ArrayValue::DoubleValues)
94
100
  ArrayValue.add_member_subclass(:string_values, Types::ArrayValue::StringValues)
101
+ ArrayValue.add_member_subclass(:array_values, Types::ArrayValue::ArrayValues)
95
102
  ArrayValue.add_member_subclass(:unknown, Types::ArrayValue::Unknown)
96
103
  ArrayValue.struct_class = Types::ArrayValue
97
104
 
@@ -100,22 +107,22 @@ module Aws::RDSDataService
100
107
  BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
101
108
  BadRequestException.struct_class = Types::BadRequestException
102
109
 
103
- BatchExecuteStatementRequest.add_member(:database, Shapes::ShapeRef.new(shape: DbName, location_name: "database"))
104
- BatchExecuteStatementRequest.add_member(:parameter_sets, Shapes::ShapeRef.new(shape: SqlParameterSets, location_name: "parameterSets"))
105
110
  BatchExecuteStatementRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
106
- BatchExecuteStatementRequest.add_member(:schema, Shapes::ShapeRef.new(shape: DbName, location_name: "schema"))
107
111
  BatchExecuteStatementRequest.add_member(:secret_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "secretArn"))
108
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"))
109
116
  BatchExecuteStatementRequest.add_member(:transaction_id, Shapes::ShapeRef.new(shape: Id, location_name: "transactionId"))
110
117
  BatchExecuteStatementRequest.struct_class = Types::BatchExecuteStatementRequest
111
118
 
112
119
  BatchExecuteStatementResponse.add_member(:update_results, Shapes::ShapeRef.new(shape: UpdateResults, location_name: "updateResults"))
113
120
  BatchExecuteStatementResponse.struct_class = Types::BatchExecuteStatementResponse
114
121
 
115
- BeginTransactionRequest.add_member(:database, Shapes::ShapeRef.new(shape: DbName, location_name: "database"))
116
122
  BeginTransactionRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
117
- BeginTransactionRequest.add_member(:schema, Shapes::ShapeRef.new(shape: DbName, location_name: "schema"))
118
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"))
119
126
  BeginTransactionRequest.struct_class = Types::BeginTransactionRequest
120
127
 
121
128
  BeginTransactionResponse.add_member(:transaction_id, Shapes::ShapeRef.new(shape: Id, location_name: "transactionId"))
@@ -123,20 +130,20 @@ module Aws::RDSDataService
123
130
 
124
131
  BooleanArray.member = Shapes::ShapeRef.new(shape: BoxedBoolean)
125
132
 
126
- 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"))
127
139
  ColumnMetadata.add_member(:is_auto_increment, Shapes::ShapeRef.new(shape: Boolean, location_name: "isAutoIncrement"))
128
- ColumnMetadata.add_member(:is_case_sensitive, Shapes::ShapeRef.new(shape: Boolean, location_name: "isCaseSensitive"))
129
- ColumnMetadata.add_member(:is_currency, Shapes::ShapeRef.new(shape: Boolean, location_name: "isCurrency"))
130
140
  ColumnMetadata.add_member(:is_signed, Shapes::ShapeRef.new(shape: Boolean, location_name: "isSigned"))
131
- ColumnMetadata.add_member(:label, Shapes::ShapeRef.new(shape: String, location_name: "label"))
132
- 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"))
133
143
  ColumnMetadata.add_member(:nullable, Shapes::ShapeRef.new(shape: Integer, location_name: "nullable"))
134
144
  ColumnMetadata.add_member(:precision, Shapes::ShapeRef.new(shape: Integer, location_name: "precision"))
135
145
  ColumnMetadata.add_member(:scale, Shapes::ShapeRef.new(shape: Integer, location_name: "scale"))
136
- ColumnMetadata.add_member(:schema_name, Shapes::ShapeRef.new(shape: String, location_name: "schemaName"))
137
- ColumnMetadata.add_member(:table_name, Shapes::ShapeRef.new(shape: String, location_name: "tableName"))
138
- ColumnMetadata.add_member(:type, Shapes::ShapeRef.new(shape: Integer, location_name: "type"))
139
- 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"))
140
147
  ColumnMetadata.struct_class = Types::ColumnMetadata
141
148
 
142
149
  CommitTransactionRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
@@ -149,49 +156,51 @@ module Aws::RDSDataService
149
156
 
150
157
  DoubleArray.member = Shapes::ShapeRef.new(shape: BoxedDouble)
151
158
 
159
+ ExecuteSqlRequest.add_member(:db_cluster_or_instance_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "dbClusterOrInstanceArn"))
152
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"))
153
162
  ExecuteSqlRequest.add_member(:database, Shapes::ShapeRef.new(shape: DbName, location_name: "database"))
154
- ExecuteSqlRequest.add_member(:db_cluster_or_instance_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "dbClusterOrInstanceArn"))
155
163
  ExecuteSqlRequest.add_member(:schema, Shapes::ShapeRef.new(shape: DbName, location_name: "schema"))
156
- ExecuteSqlRequest.add_member(:sql_statements, Shapes::ShapeRef.new(shape: SqlStatement, required: true, location_name: "sqlStatements"))
157
164
  ExecuteSqlRequest.struct_class = Types::ExecuteSqlRequest
158
165
 
159
166
  ExecuteSqlResponse.add_member(:sql_statement_results, Shapes::ShapeRef.new(shape: SqlStatementResults, location_name: "sqlStatementResults"))
160
167
  ExecuteSqlResponse.struct_class = Types::ExecuteSqlResponse
161
168
 
162
- ExecuteStatementRequest.add_member(:continue_after_timeout, Shapes::ShapeRef.new(shape: Boolean, location_name: "continueAfterTimeout"))
163
- ExecuteStatementRequest.add_member(:database, Shapes::ShapeRef.new(shape: DbName, location_name: "database"))
164
- ExecuteStatementRequest.add_member(:include_result_metadata, Shapes::ShapeRef.new(shape: Boolean, location_name: "includeResultMetadata"))
165
- ExecuteStatementRequest.add_member(:parameters, Shapes::ShapeRef.new(shape: SqlParametersList, location_name: "parameters"))
166
169
  ExecuteStatementRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
167
- ExecuteStatementRequest.add_member(:result_set_options, Shapes::ShapeRef.new(shape: ResultSetOptions, location_name: "resultSetOptions"))
168
- ExecuteStatementRequest.add_member(:schema, Shapes::ShapeRef.new(shape: DbName, location_name: "schema"))
169
170
  ExecuteStatementRequest.add_member(:secret_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "secretArn"))
170
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"))
171
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"))
172
180
  ExecuteStatementRequest.struct_class = Types::ExecuteStatementRequest
173
181
 
182
+ ExecuteStatementResponse.add_member(:records, Shapes::ShapeRef.new(shape: SqlRecords, location_name: "records"))
174
183
  ExecuteStatementResponse.add_member(:column_metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "columnMetadata"))
175
- ExecuteStatementResponse.add_member(:generated_fields, Shapes::ShapeRef.new(shape: FieldList, location_name: "generatedFields"))
176
184
  ExecuteStatementResponse.add_member(:number_of_records_updated, Shapes::ShapeRef.new(shape: RecordsUpdated, location_name: "numberOfRecordsUpdated"))
177
- 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"))
178
187
  ExecuteStatementResponse.struct_class = Types::ExecuteStatementResponse
179
188
 
180
- Field.add_member(:array_value, Shapes::ShapeRef.new(shape: ArrayValue, location_name: "arrayValue"))
181
- Field.add_member(:blob_value, Shapes::ShapeRef.new(shape: Blob, location_name: "blobValue"))
182
- Field.add_member(:boolean_value, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "booleanValue"))
183
- Field.add_member(:double_value, Shapes::ShapeRef.new(shape: BoxedDouble, location_name: "doubleValue"))
184
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"))
185
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"))
186
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"))
187
196
  Field.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
188
- Field.add_member_subclass(:array_value, Types::Field::ArrayValue)
189
- Field.add_member_subclass(:blob_value, Types::Field::BlobValue)
190
- Field.add_member_subclass(:boolean_value, Types::Field::BooleanValue)
191
- Field.add_member_subclass(:double_value, Types::Field::DoubleValue)
192
197
  Field.add_member_subclass(:is_null, Types::Field::IsNull)
198
+ Field.add_member_subclass(:boolean_value, Types::Field::BooleanValue)
193
199
  Field.add_member_subclass(:long_value, Types::Field::LongValue)
200
+ Field.add_member_subclass(:double_value, Types::Field::DoubleValue)
194
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)
195
204
  Field.add_member_subclass(:unknown, Types::Field::Unknown)
196
205
  Field.struct_class = Types::Field
197
206
 
@@ -214,8 +223,8 @@ module Aws::RDSDataService
214
223
 
215
224
  Records.member = Shapes::ShapeRef.new(shape: Record)
216
225
 
217
- ResultFrame.add_member(:records, Shapes::ShapeRef.new(shape: Records, location_name: "records"))
218
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"))
219
228
  ResultFrame.struct_class = Types::ResultFrame
220
229
 
221
230
  ResultSetMetadata.add_member(:column_count, Shapes::ShapeRef.new(shape: Long, location_name: "columnCount"))
@@ -223,6 +232,7 @@ module Aws::RDSDataService
223
232
  ResultSetMetadata.struct_class = Types::ResultSetMetadata
224
233
 
225
234
  ResultSetOptions.add_member(:decimal_return_type, Shapes::ShapeRef.new(shape: DecimalReturnType, location_name: "decimalReturnType"))
235
+ ResultSetOptions.add_member(:long_return_type, Shapes::ShapeRef.new(shape: LongReturnType, location_name: "longReturnType"))
226
236
  ResultSetOptions.struct_class = Types::ResultSetOptions
227
237
 
228
238
  RollbackTransactionRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
@@ -238,8 +248,8 @@ module Aws::RDSDataService
238
248
  ServiceUnavailableError.struct_class = Types::ServiceUnavailableError
239
249
 
240
250
  SqlParameter.add_member(:name, Shapes::ShapeRef.new(shape: ParameterName, location_name: "name"))
241
- SqlParameter.add_member(:type_hint, Shapes::ShapeRef.new(shape: TypeHint, location_name: "typeHint"))
242
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"))
243
253
  SqlParameter.struct_class = Types::SqlParameter
244
254
 
245
255
  SqlParameterSets.member = Shapes::ShapeRef.new(shape: SqlParametersList)
@@ -248,14 +258,14 @@ module Aws::RDSDataService
248
258
 
249
259
  SqlRecords.member = Shapes::ShapeRef.new(shape: FieldList)
250
260
 
251
- SqlStatementResult.add_member(:number_of_records_updated, Shapes::ShapeRef.new(shape: RecordsUpdated, location_name: "numberOfRecordsUpdated"))
252
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"))
253
263
  SqlStatementResult.struct_class = Types::SqlStatementResult
254
264
 
255
265
  SqlStatementResults.member = Shapes::ShapeRef.new(shape: SqlStatementResult)
256
266
 
257
- StatementTimeoutException.add_member(:db_connection_id, Shapes::ShapeRef.new(shape: Long, location_name: "dbConnectionId"))
258
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"))
259
269
  StatementTimeoutException.struct_class = Types::StatementTimeoutException
260
270
 
261
271
  StringArray.member = Shapes::ShapeRef.new(shape: String)
@@ -268,26 +278,26 @@ module Aws::RDSDataService
268
278
 
269
279
  UpdateResults.member = Shapes::ShapeRef.new(shape: UpdateResult)
270
280
 
271
- Value.add_member(:array_values, Shapes::ShapeRef.new(shape: ArrayValueList, location_name: "arrayValues"))
272
- 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"))
273
282
  Value.add_member(:bit_value, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "bitValue"))
274
- Value.add_member(:blob_value, Shapes::ShapeRef.new(shape: Blob, location_name: "blobValue"))
275
- 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"))
276
284
  Value.add_member(:int_value, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "intValue"))
277
- 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"))
278
286
  Value.add_member(:real_value, Shapes::ShapeRef.new(shape: BoxedFloat, location_name: "realValue"))
279
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"))
280
290
  Value.add_member(:struct_value, Shapes::ShapeRef.new(shape: StructValue, location_name: "structValue"))
281
291
  Value.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
282
- Value.add_member_subclass(:array_values, Types::Value::ArrayValues)
283
- Value.add_member_subclass(:big_int_value, Types::Value::BigIntValue)
292
+ Value.add_member_subclass(:is_null, Types::Value::IsNull)
284
293
  Value.add_member_subclass(:bit_value, Types::Value::BitValue)
285
- Value.add_member_subclass(:blob_value, Types::Value::BlobValue)
286
- Value.add_member_subclass(:double_value, Types::Value::DoubleValue)
294
+ Value.add_member_subclass(:big_int_value, Types::Value::BigIntValue)
287
295
  Value.add_member_subclass(:int_value, Types::Value::IntValue)
288
- Value.add_member_subclass(:is_null, Types::Value::IsNull)
296
+ Value.add_member_subclass(:double_value, Types::Value::DoubleValue)
289
297
  Value.add_member_subclass(:real_value, Types::Value::RealValue)
290
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)
291
301
  Value.add_member_subclass(:struct_value, Types::Value::StructValue)
292
302
  Value.add_member_subclass(:unknown, Types::Value::Unknown)
293
303
  Value.struct_class = Types::Value
@@ -316,6 +326,7 @@ module Aws::RDSDataService
316
326
  o.http_request_uri = "/BatchExecute"
317
327
  o.input = Shapes::ShapeRef.new(shape: BatchExecuteStatementRequest)
318
328
  o.output = Shapes::ShapeRef.new(shape: BatchExecuteStatementResponse)
329
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
319
330
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
320
331
  o.errors << Shapes::ShapeRef.new(shape: StatementTimeoutException)
321
332
  o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
@@ -329,6 +340,7 @@ module Aws::RDSDataService
329
340
  o.http_request_uri = "/BeginTransaction"
330
341
  o.input = Shapes::ShapeRef.new(shape: BeginTransactionRequest)
331
342
  o.output = Shapes::ShapeRef.new(shape: BeginTransactionResponse)
343
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
332
344
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
333
345
  o.errors << Shapes::ShapeRef.new(shape: StatementTimeoutException)
334
346
  o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
@@ -342,6 +354,7 @@ module Aws::RDSDataService
342
354
  o.http_request_uri = "/CommitTransaction"
343
355
  o.input = Shapes::ShapeRef.new(shape: CommitTransactionRequest)
344
356
  o.output = Shapes::ShapeRef.new(shape: CommitTransactionResponse)
357
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
345
358
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
346
359
  o.errors << Shapes::ShapeRef.new(shape: StatementTimeoutException)
347
360
  o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
@@ -357,6 +370,7 @@ module Aws::RDSDataService
357
370
  o.deprecated = true
358
371
  o.input = Shapes::ShapeRef.new(shape: ExecuteSqlRequest)
359
372
  o.output = Shapes::ShapeRef.new(shape: ExecuteSqlResponse)
373
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
360
374
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
361
375
  o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
362
376
  o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
@@ -369,6 +383,7 @@ module Aws::RDSDataService
369
383
  o.http_request_uri = "/Execute"
370
384
  o.input = Shapes::ShapeRef.new(shape: ExecuteStatementRequest)
371
385
  o.output = Shapes::ShapeRef.new(shape: ExecuteStatementResponse)
386
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
372
387
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
373
388
  o.errors << Shapes::ShapeRef.new(shape: StatementTimeoutException)
374
389
  o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
@@ -382,6 +397,7 @@ module Aws::RDSDataService
382
397
  o.http_request_uri = "/RollbackTransaction"
383
398
  o.input = Shapes::ShapeRef.new(shape: RollbackTransactionRequest)
384
399
  o.output = Shapes::ShapeRef.new(shape: RollbackTransactionResponse)
400
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
385
401
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
386
402
  o.errors << Shapes::ShapeRef.new(shape: StatementTimeoutException)
387
403
  o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
@@ -27,6 +27,7 @@ module Aws::RDSDataService
27
27
  # See {Seahorse::Client::RequestContext} for more information.
28
28
  #
29
29
  # ## Error Classes
30
+ # * {AccessDeniedException}
30
31
  # * {BadRequestException}
31
32
  # * {ForbiddenException}
32
33
  # * {InternalServerErrorException}
@@ -40,6 +41,21 @@ module Aws::RDSDataService
40
41
 
41
42
  extend Aws::Errors::DynamicErrors
42
43
 
44
+ class AccessDeniedException < ServiceError
45
+
46
+ # @param [Seahorse::Client::RequestContext] context
47
+ # @param [String] message
48
+ # @param [Aws::RDSDataService::Types::AccessDeniedException] data
49
+ def initialize(context, message, data = Aws::EmptyStructure.new)
50
+ super(context, message, data)
51
+ end
52
+
53
+ # @return [String]
54
+ def message
55
+ @message || @data[:message]
56
+ end
57
+ end
58
+
43
59
  class BadRequestException < ServiceError
44
60
 
45
61
  # @param [Seahorse::Client::RequestContext] context
@@ -115,13 +131,13 @@ module Aws::RDSDataService
115
131
  end
116
132
 
117
133
  # @return [String]
118
- def db_connection_id
119
- @data[:db_connection_id]
134
+ def message
135
+ @message || @data[:message]
120
136
  end
121
137
 
122
138
  # @return [String]
123
- def message
124
- @message || @data[:message]
139
+ def db_connection_id
140
+ @data[:db_connection_id]
125
141
  end
126
142
  end
127
143