aws-sdk-rdsdataservice 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 732b735ede0016f2704111fc3be54bdabddc5aa2
4
- data.tar.gz: 4853f64a960c4dc5c686463e65529d5adc919034
3
+ metadata.gz: '037934f233bbff7dabf3416959c1534acca8e119'
4
+ data.tar.gz: 30b28bf5b5acb31dde3ef0bc87587ca154b123c8
5
5
  SHA512:
6
- metadata.gz: d7e875b9eb55943da67ddb4786457d2cde1b43be79c2de16d0be774d3a84c2b163beb30fb1a852bce8b57f7f703e94d1681150e548e0225938e06f709e5aa1a8
7
- data.tar.gz: 1b63d580babb9875d407f1fc222855c18611918ba15d66ae2f8311c4525dfa96ec6f152a0da3200bec33f79ea01ce091f8d86546d505ddc171eaa46fbe11f804
6
+ metadata.gz: 40fb09cd8fba66dca0b2826e6be95522234d1faec1ac989bbf58c4d4cff8a9b2f1910828d35aed26733fe60cbbfcb0a0a249e1de06974cb4ba5e151a0796398d
7
+ data.tar.gz: ab416c151e6894c133dfd6f55db2e7b6a1f643f3c16a2370bb8ab1d601b43b25f477825ced8ded63fc70e038cde6ede5da8c6cf48156e3ec5b164abe7de9042f
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-rdsdataservice/customizations'
42
42
  # @service
43
43
  module Aws::RDSDataService
44
44
 
45
- GEM_VERSION = '1.0.0'
45
+ GEM_VERSION = '1.1.0'
46
46
 
47
47
  end
@@ -231,11 +231,11 @@ module Aws::RDSDataService
231
231
  # @example Request syntax with placeholder values
232
232
  #
233
233
  # resp = client.execute_sql({
234
- # aws_secret_store_arn: "String", # required
235
- # database: "String",
236
- # db_cluster_or_instance_arn: "String", # required
237
- # schema: "String",
238
- # sql_statements: "String", # required
234
+ # aws_secret_store_arn: "Arn", # required
235
+ # database: "DbName",
236
+ # db_cluster_or_instance_arn: "Arn", # required
237
+ # schema: "DbName",
238
+ # sql_statements: "SqlStatement", # required
239
239
  # })
240
240
  #
241
241
  # @example Response structure
@@ -295,7 +295,7 @@ module Aws::RDSDataService
295
295
  params: params,
296
296
  config: config)
297
297
  context[:gem_name] = 'aws-sdk-rdsdataservice'
298
- context[:gem_version] = '1.0.0'
298
+ context[:gem_version] = '1.1.0'
299
299
  Seahorse::Client::Request.new(handlers, context)
300
300
  end
301
301
 
@@ -11,12 +11,14 @@ module Aws::RDSDataService
11
11
 
12
12
  include Seahorse::Model
13
13
 
14
+ Arn = Shapes::StringShape.new(name: 'Arn')
14
15
  ArrayValues = Shapes::ListShape.new(name: 'ArrayValues')
15
16
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
16
17
  Blob = Shapes::BlobShape.new(name: 'Blob')
17
18
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
18
19
  ColumnMetadata = Shapes::StructureShape.new(name: 'ColumnMetadata')
19
20
  ColumnMetadataList = Shapes::ListShape.new(name: 'ColumnMetadataList')
21
+ DbName = Shapes::StringShape.new(name: 'DbName')
20
22
  Double = Shapes::FloatShape.new(name: 'Double')
21
23
  ExecuteSqlRequest = Shapes::StructureShape.new(name: 'ExecuteSqlRequest')
22
24
  ExecuteSqlResponse = Shapes::StructureShape.new(name: 'ExecuteSqlResponse')
@@ -31,6 +33,7 @@ module Aws::RDSDataService
31
33
  ResultSetMetadata = Shapes::StructureShape.new(name: 'ResultSetMetadata')
32
34
  Row = Shapes::ListShape.new(name: 'Row')
33
35
  ServiceUnavailableError = Shapes::StructureShape.new(name: 'ServiceUnavailableError')
36
+ SqlStatement = Shapes::StringShape.new(name: 'SqlStatement')
34
37
  SqlStatementResult = Shapes::StructureShape.new(name: 'SqlStatementResult')
35
38
  SqlStatementResults = Shapes::ListShape.new(name: 'SqlStatementResults')
36
39
  String = Shapes::StringShape.new(name: 'String')
@@ -57,11 +60,11 @@ module Aws::RDSDataService
57
60
 
58
61
  ColumnMetadataList.member = Shapes::ShapeRef.new(shape: ColumnMetadata)
59
62
 
60
- ExecuteSqlRequest.add_member(:aws_secret_store_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "awsSecretStoreArn"))
61
- ExecuteSqlRequest.add_member(:database, Shapes::ShapeRef.new(shape: String, location_name: "database"))
62
- ExecuteSqlRequest.add_member(:db_cluster_or_instance_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "dbClusterOrInstanceArn"))
63
- ExecuteSqlRequest.add_member(:schema, Shapes::ShapeRef.new(shape: String, location_name: "schema"))
64
- ExecuteSqlRequest.add_member(:sql_statements, Shapes::ShapeRef.new(shape: String, required: true, location_name: "sqlStatements"))
63
+ ExecuteSqlRequest.add_member(:aws_secret_store_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "awsSecretStoreArn"))
64
+ ExecuteSqlRequest.add_member(:database, Shapes::ShapeRef.new(shape: DbName, location_name: "database"))
65
+ ExecuteSqlRequest.add_member(:db_cluster_or_instance_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "dbClusterOrInstanceArn"))
66
+ ExecuteSqlRequest.add_member(:schema, Shapes::ShapeRef.new(shape: DbName, location_name: "schema"))
67
+ ExecuteSqlRequest.add_member(:sql_statements, Shapes::ShapeRef.new(shape: SqlStatement, required: true, location_name: "sqlStatements"))
65
68
  ExecuteSqlRequest.struct_class = Types::ExecuteSqlRequest
66
69
 
67
70
  ExecuteSqlResponse.add_member(:sql_statement_results, Shapes::ShapeRef.new(shape: SqlStatementResults, required: true, location_name: "sqlStatementResults"))
@@ -8,24 +8,6 @@
8
8
  module Aws::RDSDataService
9
9
  module Types
10
10
 
11
- # SQL statement execution result
12
- #
13
- # @!attribute [rw] number_of_records_updated
14
- # Number of rows updated.
15
- # @return [Integer]
16
- #
17
- # @!attribute [rw] result_frame
18
- # ResultFrame returned by executing the sql statement
19
- # @return [Types::ResultFrame]
20
- #
21
- # @see http://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/SqlStatementResult AWS API Documentation
22
- #
23
- class SqlStatementResult < Struct.new(
24
- :number_of_records_updated,
25
- :result_frame)
26
- include Aws::Structure
27
- end
28
-
29
11
  # Column value
30
12
  #
31
13
  # @!attribute [rw] array_values
@@ -84,24 +66,6 @@ module Aws::RDSDataService
84
66
  include Aws::Structure
85
67
  end
86
68
 
87
- # List of columns and their types.
88
- #
89
- # @!attribute [rw] column_count
90
- # Number of columns
91
- # @return [Integer]
92
- #
93
- # @!attribute [rw] column_metadata
94
- # List of columns and their types
95
- # @return [Array<Types::ColumnMetadata>]
96
- #
97
- # @see http://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/ResultSetMetadata AWS API Documentation
98
- #
99
- class ResultSetMetadata < Struct.new(
100
- :column_count,
101
- :column_metadata)
102
- include Aws::Structure
103
- end
104
-
105
69
  # Result Frame
106
70
  #
107
71
  # @!attribute [rw] records
@@ -120,17 +84,66 @@ module Aws::RDSDataService
120
84
  include Aws::Structure
121
85
  end
122
86
 
87
+ # Execute SQL response
88
+ #
89
+ # @!attribute [rw] sql_statement_results
90
+ # Results returned by executing the sql statement(s)
91
+ # @return [Array<Types::SqlStatementResult>]
92
+ #
93
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/ExecuteSqlResponse AWS API Documentation
94
+ #
95
+ class ExecuteSqlResponse < Struct.new(
96
+ :sql_statement_results)
97
+ include Aws::Structure
98
+ end
99
+
100
+ # SQL statement execution result
101
+ #
102
+ # @!attribute [rw] number_of_records_updated
103
+ # Number of rows updated.
104
+ # @return [Integer]
105
+ #
106
+ # @!attribute [rw] result_frame
107
+ # ResultFrame returned by executing the sql statement
108
+ # @return [Types::ResultFrame]
109
+ #
110
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/SqlStatementResult AWS API Documentation
111
+ #
112
+ class SqlStatementResult < Struct.new(
113
+ :number_of_records_updated,
114
+ :result_frame)
115
+ include Aws::Structure
116
+ end
117
+
118
+ # List of columns and their types.
119
+ #
120
+ # @!attribute [rw] column_count
121
+ # Number of columns
122
+ # @return [Integer]
123
+ #
124
+ # @!attribute [rw] column_metadata
125
+ # List of columns and their types
126
+ # @return [Array<Types::ColumnMetadata>]
127
+ #
128
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/ResultSetMetadata AWS API Documentation
129
+ #
130
+ class ResultSetMetadata < Struct.new(
131
+ :column_count,
132
+ :column_metadata)
133
+ include Aws::Structure
134
+ end
135
+
123
136
  # Execute SQL Request
124
137
  #
125
138
  # @note When making an API call, you may pass ExecuteSqlRequest
126
139
  # data as a hash:
127
140
  #
128
141
  # {
129
- # aws_secret_store_arn: "String", # required
130
- # database: "String",
131
- # db_cluster_or_instance_arn: "String", # required
132
- # schema: "String",
133
- # sql_statements: "String", # required
142
+ # aws_secret_store_arn: "Arn", # required
143
+ # database: "DbName",
144
+ # db_cluster_or_instance_arn: "Arn", # required
145
+ # schema: "DbName",
146
+ # sql_statements: "SqlStatement", # required
134
147
  # }
135
148
  #
136
149
  # @!attribute [rw] aws_secret_store_arn
@@ -280,18 +293,5 @@ module Aws::RDSDataService
280
293
  include Aws::Structure
281
294
  end
282
295
 
283
- # Execute SQL response
284
- #
285
- # @!attribute [rw] sql_statement_results
286
- # Results returned by executing the sql statement(s)
287
- # @return [Array<Types::SqlStatementResult>]
288
- #
289
- # @see http://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/ExecuteSqlResponse AWS API Documentation
290
- #
291
- class ExecuteSqlResponse < Struct.new(
292
- :sql_statement_results)
293
- include Aws::Structure
294
- end
295
-
296
296
  end
297
297
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-rdsdataservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-20 00:00:00.000000000 Z
11
+ date: 2019-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core