aws-sdk-timestreamquery 1.9.0 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,42 +14,116 @@ module Aws::TimestreamQuery
14
14
  include Seahorse::Model
15
15
 
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
17
18
  CancelQueryRequest = Shapes::StructureShape.new(name: 'CancelQueryRequest')
18
19
  CancelQueryResponse = Shapes::StructureShape.new(name: 'CancelQueryResponse')
19
20
  ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
21
+ ClientToken = Shapes::StringShape.new(name: 'ClientToken')
20
22
  ColumnInfo = Shapes::StructureShape.new(name: 'ColumnInfo')
21
23
  ColumnInfoList = Shapes::ListShape.new(name: 'ColumnInfoList')
22
24
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
25
+ CreateScheduledQueryRequest = Shapes::StructureShape.new(name: 'CreateScheduledQueryRequest')
26
+ CreateScheduledQueryResponse = Shapes::StructureShape.new(name: 'CreateScheduledQueryResponse')
23
27
  Datum = Shapes::StructureShape.new(name: 'Datum')
24
28
  DatumList = Shapes::ListShape.new(name: 'DatumList')
29
+ DeleteScheduledQueryRequest = Shapes::StructureShape.new(name: 'DeleteScheduledQueryRequest')
25
30
  DescribeEndpointsRequest = Shapes::StructureShape.new(name: 'DescribeEndpointsRequest')
26
31
  DescribeEndpointsResponse = Shapes::StructureShape.new(name: 'DescribeEndpointsResponse')
32
+ DescribeScheduledQueryRequest = Shapes::StructureShape.new(name: 'DescribeScheduledQueryRequest')
33
+ DescribeScheduledQueryResponse = Shapes::StructureShape.new(name: 'DescribeScheduledQueryResponse')
34
+ DimensionMapping = Shapes::StructureShape.new(name: 'DimensionMapping')
35
+ DimensionMappingList = Shapes::ListShape.new(name: 'DimensionMappingList')
36
+ DimensionValueType = Shapes::StringShape.new(name: 'DimensionValueType')
27
37
  Double = Shapes::FloatShape.new(name: 'Double')
28
38
  Endpoint = Shapes::StructureShape.new(name: 'Endpoint')
29
39
  Endpoints = Shapes::ListShape.new(name: 'Endpoints')
30
40
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
41
+ ErrorReportConfiguration = Shapes::StructureShape.new(name: 'ErrorReportConfiguration')
42
+ ErrorReportLocation = Shapes::StructureShape.new(name: 'ErrorReportLocation')
43
+ ExecuteScheduledQueryRequest = Shapes::StructureShape.new(name: 'ExecuteScheduledQueryRequest')
44
+ ExecutionStats = Shapes::StructureShape.new(name: 'ExecutionStats')
31
45
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
32
46
  InvalidEndpointException = Shapes::StructureShape.new(name: 'InvalidEndpointException')
47
+ ListScheduledQueriesRequest = Shapes::StructureShape.new(name: 'ListScheduledQueriesRequest')
48
+ ListScheduledQueriesResponse = Shapes::StructureShape.new(name: 'ListScheduledQueriesResponse')
49
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
50
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
33
51
  Long = Shapes::IntegerShape.new(name: 'Long')
34
52
  MaxQueryResults = Shapes::IntegerShape.new(name: 'MaxQueryResults')
53
+ MaxScheduledQueriesResults = Shapes::IntegerShape.new(name: 'MaxScheduledQueriesResults')
54
+ MaxTagsForResourceResult = Shapes::IntegerShape.new(name: 'MaxTagsForResourceResult')
55
+ MeasureValueType = Shapes::StringShape.new(name: 'MeasureValueType')
56
+ MixedMeasureMapping = Shapes::StructureShape.new(name: 'MixedMeasureMapping')
57
+ MixedMeasureMappingList = Shapes::ListShape.new(name: 'MixedMeasureMappingList')
58
+ MultiMeasureAttributeMapping = Shapes::StructureShape.new(name: 'MultiMeasureAttributeMapping')
59
+ MultiMeasureAttributeMappingList = Shapes::ListShape.new(name: 'MultiMeasureAttributeMappingList')
60
+ MultiMeasureMappings = Shapes::StructureShape.new(name: 'MultiMeasureMappings')
61
+ NextScheduledQueriesResultsToken = Shapes::StringShape.new(name: 'NextScheduledQueriesResultsToken')
62
+ NextTagsForResourceResultsToken = Shapes::StringShape.new(name: 'NextTagsForResourceResultsToken')
63
+ NotificationConfiguration = Shapes::StructureShape.new(name: 'NotificationConfiguration')
35
64
  NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
65
+ PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
66
+ ParameterMapping = Shapes::StructureShape.new(name: 'ParameterMapping')
67
+ ParameterMappingList = Shapes::ListShape.new(name: 'ParameterMappingList')
68
+ PrepareQueryRequest = Shapes::StructureShape.new(name: 'PrepareQueryRequest')
69
+ PrepareQueryResponse = Shapes::StructureShape.new(name: 'PrepareQueryResponse')
36
70
  QueryExecutionException = Shapes::StructureShape.new(name: 'QueryExecutionException')
37
71
  QueryId = Shapes::StringShape.new(name: 'QueryId')
38
72
  QueryRequest = Shapes::StructureShape.new(name: 'QueryRequest')
39
73
  QueryResponse = Shapes::StructureShape.new(name: 'QueryResponse')
40
74
  QueryStatus = Shapes::StructureShape.new(name: 'QueryStatus')
41
75
  QueryString = Shapes::StringShape.new(name: 'QueryString')
76
+ ResourceName = Shapes::StringShape.new(name: 'ResourceName')
77
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
42
78
  Row = Shapes::StructureShape.new(name: 'Row')
43
79
  RowList = Shapes::ListShape.new(name: 'RowList')
80
+ S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
81
+ S3Configuration = Shapes::StructureShape.new(name: 'S3Configuration')
82
+ S3EncryptionOption = Shapes::StringShape.new(name: 'S3EncryptionOption')
83
+ S3ObjectKey = Shapes::StringShape.new(name: 'S3ObjectKey')
84
+ S3ObjectKeyPrefix = Shapes::StringShape.new(name: 'S3ObjectKeyPrefix')
85
+ S3ReportLocation = Shapes::StructureShape.new(name: 'S3ReportLocation')
86
+ ScalarMeasureValueType = Shapes::StringShape.new(name: 'ScalarMeasureValueType')
44
87
  ScalarType = Shapes::StringShape.new(name: 'ScalarType')
45
88
  ScalarValue = Shapes::StringShape.new(name: 'ScalarValue')
89
+ ScheduleConfiguration = Shapes::StructureShape.new(name: 'ScheduleConfiguration')
90
+ ScheduleExpression = Shapes::StringShape.new(name: 'ScheduleExpression')
91
+ ScheduledQuery = Shapes::StructureShape.new(name: 'ScheduledQuery')
92
+ ScheduledQueryDescription = Shapes::StructureShape.new(name: 'ScheduledQueryDescription')
93
+ ScheduledQueryList = Shapes::ListShape.new(name: 'ScheduledQueryList')
94
+ ScheduledQueryName = Shapes::StringShape.new(name: 'ScheduledQueryName')
95
+ ScheduledQueryRunStatus = Shapes::StringShape.new(name: 'ScheduledQueryRunStatus')
96
+ ScheduledQueryRunSummary = Shapes::StructureShape.new(name: 'ScheduledQueryRunSummary')
97
+ ScheduledQueryRunSummaryList = Shapes::ListShape.new(name: 'ScheduledQueryRunSummaryList')
98
+ ScheduledQueryState = Shapes::StringShape.new(name: 'ScheduledQueryState')
99
+ SchemaName = Shapes::StringShape.new(name: 'SchemaName')
100
+ SelectColumn = Shapes::StructureShape.new(name: 'SelectColumn')
101
+ SelectColumnList = Shapes::ListShape.new(name: 'SelectColumnList')
46
102
  ServiceErrorMessage = Shapes::StringShape.new(name: 'ServiceErrorMessage')
103
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
104
+ SnsConfiguration = Shapes::StructureShape.new(name: 'SnsConfiguration')
47
105
  String = Shapes::StringShape.new(name: 'String')
106
+ StringValue2048 = Shapes::StringShape.new(name: 'StringValue2048')
107
+ Tag = Shapes::StructureShape.new(name: 'Tag')
108
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
109
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
110
+ TagList = Shapes::ListShape.new(name: 'TagList')
111
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
112
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
113
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
114
+ TargetConfiguration = Shapes::StructureShape.new(name: 'TargetConfiguration')
115
+ TargetDestination = Shapes::StructureShape.new(name: 'TargetDestination')
48
116
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
117
+ Time = Shapes::TimestampShape.new(name: 'Time')
49
118
  TimeSeriesDataPoint = Shapes::StructureShape.new(name: 'TimeSeriesDataPoint')
50
119
  TimeSeriesDataPointList = Shapes::ListShape.new(name: 'TimeSeriesDataPointList')
51
120
  Timestamp = Shapes::StringShape.new(name: 'Timestamp')
121
+ TimestreamConfiguration = Shapes::StructureShape.new(name: 'TimestreamConfiguration')
122
+ TimestreamDestination = Shapes::StructureShape.new(name: 'TimestreamDestination')
52
123
  Type = Shapes::StructureShape.new(name: 'Type')
124
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
125
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
126
+ UpdateScheduledQueryRequest = Shapes::StructureShape.new(name: 'UpdateScheduledQueryRequest')
53
127
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
54
128
 
55
129
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ServiceErrorMessage, location_name: "Message"))
@@ -70,6 +144,21 @@ module Aws::TimestreamQuery
70
144
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
71
145
  ConflictException.struct_class = Types::ConflictException
72
146
 
147
+ CreateScheduledQueryRequest.add_member(:name, Shapes::ShapeRef.new(shape: ScheduledQueryName, required: true, location_name: "Name"))
148
+ CreateScheduledQueryRequest.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, required: true, location_name: "QueryString"))
149
+ CreateScheduledQueryRequest.add_member(:schedule_configuration, Shapes::ShapeRef.new(shape: ScheduleConfiguration, required: true, location_name: "ScheduleConfiguration"))
150
+ CreateScheduledQueryRequest.add_member(:notification_configuration, Shapes::ShapeRef.new(shape: NotificationConfiguration, required: true, location_name: "NotificationConfiguration"))
151
+ CreateScheduledQueryRequest.add_member(:target_configuration, Shapes::ShapeRef.new(shape: TargetConfiguration, location_name: "TargetConfiguration"))
152
+ CreateScheduledQueryRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
153
+ CreateScheduledQueryRequest.add_member(:scheduled_query_execution_role_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ScheduledQueryExecutionRoleArn"))
154
+ CreateScheduledQueryRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
155
+ CreateScheduledQueryRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: StringValue2048, location_name: "KmsKeyId"))
156
+ CreateScheduledQueryRequest.add_member(:error_report_configuration, Shapes::ShapeRef.new(shape: ErrorReportConfiguration, required: true, location_name: "ErrorReportConfiguration"))
157
+ CreateScheduledQueryRequest.struct_class = Types::CreateScheduledQueryRequest
158
+
159
+ CreateScheduledQueryResponse.add_member(:arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "Arn"))
160
+ CreateScheduledQueryResponse.struct_class = Types::CreateScheduledQueryResponse
161
+
73
162
  Datum.add_member(:scalar_value, Shapes::ShapeRef.new(shape: ScalarValue, location_name: "ScalarValue"))
74
163
  Datum.add_member(:time_series_value, Shapes::ShapeRef.new(shape: TimeSeriesDataPointList, location_name: "TimeSeriesValue"))
75
164
  Datum.add_member(:array_value, Shapes::ShapeRef.new(shape: DatumList, location_name: "ArrayValue"))
@@ -79,34 +168,122 @@ module Aws::TimestreamQuery
79
168
 
80
169
  DatumList.member = Shapes::ShapeRef.new(shape: Datum)
81
170
 
171
+ DeleteScheduledQueryRequest.add_member(:scheduled_query_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ScheduledQueryArn"))
172
+ DeleteScheduledQueryRequest.struct_class = Types::DeleteScheduledQueryRequest
173
+
82
174
  DescribeEndpointsRequest.struct_class = Types::DescribeEndpointsRequest
83
175
 
84
176
  DescribeEndpointsResponse.add_member(:endpoints, Shapes::ShapeRef.new(shape: Endpoints, required: true, location_name: "Endpoints"))
85
177
  DescribeEndpointsResponse.struct_class = Types::DescribeEndpointsResponse
86
178
 
179
+ DescribeScheduledQueryRequest.add_member(:scheduled_query_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ScheduledQueryArn"))
180
+ DescribeScheduledQueryRequest.struct_class = Types::DescribeScheduledQueryRequest
181
+
182
+ DescribeScheduledQueryResponse.add_member(:scheduled_query, Shapes::ShapeRef.new(shape: ScheduledQueryDescription, required: true, location_name: "ScheduledQuery"))
183
+ DescribeScheduledQueryResponse.struct_class = Types::DescribeScheduledQueryResponse
184
+
185
+ DimensionMapping.add_member(:name, Shapes::ShapeRef.new(shape: SchemaName, required: true, location_name: "Name"))
186
+ DimensionMapping.add_member(:dimension_value_type, Shapes::ShapeRef.new(shape: DimensionValueType, required: true, location_name: "DimensionValueType"))
187
+ DimensionMapping.struct_class = Types::DimensionMapping
188
+
189
+ DimensionMappingList.member = Shapes::ShapeRef.new(shape: DimensionMapping)
190
+
87
191
  Endpoint.add_member(:address, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Address"))
88
192
  Endpoint.add_member(:cache_period_in_minutes, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "CachePeriodInMinutes"))
89
193
  Endpoint.struct_class = Types::Endpoint
90
194
 
91
195
  Endpoints.member = Shapes::ShapeRef.new(shape: Endpoint)
92
196
 
197
+ ErrorReportConfiguration.add_member(:s3_configuration, Shapes::ShapeRef.new(shape: S3Configuration, required: true, location_name: "S3Configuration"))
198
+ ErrorReportConfiguration.struct_class = Types::ErrorReportConfiguration
199
+
200
+ ErrorReportLocation.add_member(:s3_report_location, Shapes::ShapeRef.new(shape: S3ReportLocation, location_name: "S3ReportLocation"))
201
+ ErrorReportLocation.struct_class = Types::ErrorReportLocation
202
+
203
+ ExecuteScheduledQueryRequest.add_member(:scheduled_query_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ScheduledQueryArn"))
204
+ ExecuteScheduledQueryRequest.add_member(:invocation_time, Shapes::ShapeRef.new(shape: Time, required: true, location_name: "InvocationTime"))
205
+ ExecuteScheduledQueryRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
206
+ ExecuteScheduledQueryRequest.struct_class = Types::ExecuteScheduledQueryRequest
207
+
208
+ ExecutionStats.add_member(:execution_time_in_millis, Shapes::ShapeRef.new(shape: Long, location_name: "ExecutionTimeInMillis"))
209
+ ExecutionStats.add_member(:data_writes, Shapes::ShapeRef.new(shape: Long, location_name: "DataWrites"))
210
+ ExecutionStats.add_member(:bytes_metered, Shapes::ShapeRef.new(shape: Long, location_name: "BytesMetered"))
211
+ ExecutionStats.add_member(:records_ingested, Shapes::ShapeRef.new(shape: Long, location_name: "RecordsIngested"))
212
+ ExecutionStats.add_member(:query_result_rows, Shapes::ShapeRef.new(shape: Long, location_name: "QueryResultRows"))
213
+ ExecutionStats.struct_class = Types::ExecutionStats
214
+
93
215
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
94
216
  InternalServerException.struct_class = Types::InternalServerException
95
217
 
96
218
  InvalidEndpointException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
97
219
  InvalidEndpointException.struct_class = Types::InvalidEndpointException
98
220
 
221
+ ListScheduledQueriesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxScheduledQueriesResults, location_name: "MaxResults"))
222
+ ListScheduledQueriesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextScheduledQueriesResultsToken, location_name: "NextToken"))
223
+ ListScheduledQueriesRequest.struct_class = Types::ListScheduledQueriesRequest
224
+
225
+ ListScheduledQueriesResponse.add_member(:scheduled_queries, Shapes::ShapeRef.new(shape: ScheduledQueryList, required: true, location_name: "ScheduledQueries"))
226
+ ListScheduledQueriesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextScheduledQueriesResultsToken, location_name: "NextToken"))
227
+ ListScheduledQueriesResponse.struct_class = Types::ListScheduledQueriesResponse
228
+
229
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
230
+ ListTagsForResourceRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxTagsForResourceResult, location_name: "MaxResults"))
231
+ ListTagsForResourceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTagsForResourceResultsToken, location_name: "NextToken"))
232
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
233
+
234
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
235
+ ListTagsForResourceResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTagsForResourceResultsToken, location_name: "NextToken"))
236
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
237
+
238
+ MixedMeasureMapping.add_member(:measure_name, Shapes::ShapeRef.new(shape: SchemaName, location_name: "MeasureName"))
239
+ MixedMeasureMapping.add_member(:source_column, Shapes::ShapeRef.new(shape: SchemaName, location_name: "SourceColumn"))
240
+ MixedMeasureMapping.add_member(:target_measure_name, Shapes::ShapeRef.new(shape: SchemaName, location_name: "TargetMeasureName"))
241
+ MixedMeasureMapping.add_member(:measure_value_type, Shapes::ShapeRef.new(shape: MeasureValueType, required: true, location_name: "MeasureValueType"))
242
+ MixedMeasureMapping.add_member(:multi_measure_attribute_mappings, Shapes::ShapeRef.new(shape: MultiMeasureAttributeMappingList, location_name: "MultiMeasureAttributeMappings"))
243
+ MixedMeasureMapping.struct_class = Types::MixedMeasureMapping
244
+
245
+ MixedMeasureMappingList.member = Shapes::ShapeRef.new(shape: MixedMeasureMapping)
246
+
247
+ MultiMeasureAttributeMapping.add_member(:source_column, Shapes::ShapeRef.new(shape: SchemaName, required: true, location_name: "SourceColumn"))
248
+ MultiMeasureAttributeMapping.add_member(:target_multi_measure_attribute_name, Shapes::ShapeRef.new(shape: SchemaName, location_name: "TargetMultiMeasureAttributeName"))
249
+ MultiMeasureAttributeMapping.add_member(:measure_value_type, Shapes::ShapeRef.new(shape: ScalarMeasureValueType, required: true, location_name: "MeasureValueType"))
250
+ MultiMeasureAttributeMapping.struct_class = Types::MultiMeasureAttributeMapping
251
+
252
+ MultiMeasureAttributeMappingList.member = Shapes::ShapeRef.new(shape: MultiMeasureAttributeMapping)
253
+
254
+ MultiMeasureMappings.add_member(:target_multi_measure_name, Shapes::ShapeRef.new(shape: SchemaName, location_name: "TargetMultiMeasureName"))
255
+ MultiMeasureMappings.add_member(:multi_measure_attribute_mappings, Shapes::ShapeRef.new(shape: MultiMeasureAttributeMappingList, required: true, location_name: "MultiMeasureAttributeMappings"))
256
+ MultiMeasureMappings.struct_class = Types::MultiMeasureMappings
257
+
258
+ NotificationConfiguration.add_member(:sns_configuration, Shapes::ShapeRef.new(shape: SnsConfiguration, required: true, location_name: "SnsConfiguration"))
259
+ NotificationConfiguration.struct_class = Types::NotificationConfiguration
260
+
261
+ ParameterMapping.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
262
+ ParameterMapping.add_member(:type, Shapes::ShapeRef.new(shape: Type, required: true, location_name: "Type"))
263
+ ParameterMapping.struct_class = Types::ParameterMapping
264
+
265
+ ParameterMappingList.member = Shapes::ShapeRef.new(shape: ParameterMapping)
266
+
267
+ PrepareQueryRequest.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, required: true, location_name: "QueryString"))
268
+ PrepareQueryRequest.add_member(:validate_only, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "ValidateOnly"))
269
+ PrepareQueryRequest.struct_class = Types::PrepareQueryRequest
270
+
271
+ PrepareQueryResponse.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, required: true, location_name: "QueryString"))
272
+ PrepareQueryResponse.add_member(:columns, Shapes::ShapeRef.new(shape: SelectColumnList, required: true, location_name: "Columns"))
273
+ PrepareQueryResponse.add_member(:parameters, Shapes::ShapeRef.new(shape: ParameterMappingList, required: true, location_name: "Parameters"))
274
+ PrepareQueryResponse.struct_class = Types::PrepareQueryResponse
275
+
99
276
  QueryExecutionException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
100
277
  QueryExecutionException.struct_class = Types::QueryExecutionException
101
278
 
102
279
  QueryRequest.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, required: true, location_name: "QueryString"))
103
280
  QueryRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
104
- QueryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
281
+ QueryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
105
282
  QueryRequest.add_member(:max_rows, Shapes::ShapeRef.new(shape: MaxQueryResults, location_name: "MaxRows"))
106
283
  QueryRequest.struct_class = Types::QueryRequest
107
284
 
108
285
  QueryResponse.add_member(:query_id, Shapes::ShapeRef.new(shape: QueryId, required: true, location_name: "QueryId"))
109
- QueryResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
286
+ QueryResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
110
287
  QueryResponse.add_member(:rows, Shapes::ShapeRef.new(shape: RowList, required: true, location_name: "Rows"))
111
288
  QueryResponse.add_member(:column_info, Shapes::ShapeRef.new(shape: ColumnInfoList, required: true, location_name: "ColumnInfo"))
112
289
  QueryResponse.add_member(:query_status, Shapes::ShapeRef.new(shape: QueryStatus, location_name: "QueryStatus"))
@@ -117,11 +294,102 @@ module Aws::TimestreamQuery
117
294
  QueryStatus.add_member(:cumulative_bytes_metered, Shapes::ShapeRef.new(shape: Long, location_name: "CumulativeBytesMetered"))
118
295
  QueryStatus.struct_class = Types::QueryStatus
119
296
 
297
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
298
+ ResourceNotFoundException.add_member(:scheduled_query_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "ScheduledQueryArn"))
299
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
300
+
120
301
  Row.add_member(:data, Shapes::ShapeRef.new(shape: DatumList, required: true, location_name: "Data"))
121
302
  Row.struct_class = Types::Row
122
303
 
123
304
  RowList.member = Shapes::ShapeRef.new(shape: Row)
124
305
 
306
+ S3Configuration.add_member(:bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, required: true, location_name: "BucketName"))
307
+ S3Configuration.add_member(:object_key_prefix, Shapes::ShapeRef.new(shape: S3ObjectKeyPrefix, location_name: "ObjectKeyPrefix"))
308
+ S3Configuration.add_member(:encryption_option, Shapes::ShapeRef.new(shape: S3EncryptionOption, location_name: "EncryptionOption"))
309
+ S3Configuration.struct_class = Types::S3Configuration
310
+
311
+ S3ReportLocation.add_member(:bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, location_name: "BucketName"))
312
+ S3ReportLocation.add_member(:object_key, Shapes::ShapeRef.new(shape: S3ObjectKey, location_name: "ObjectKey"))
313
+ S3ReportLocation.struct_class = Types::S3ReportLocation
314
+
315
+ ScheduleConfiguration.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, required: true, location_name: "ScheduleExpression"))
316
+ ScheduleConfiguration.struct_class = Types::ScheduleConfiguration
317
+
318
+ ScheduledQuery.add_member(:arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "Arn"))
319
+ ScheduledQuery.add_member(:name, Shapes::ShapeRef.new(shape: ScheduledQueryName, required: true, location_name: "Name"))
320
+ ScheduledQuery.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
321
+ ScheduledQuery.add_member(:state, Shapes::ShapeRef.new(shape: ScheduledQueryState, required: true, location_name: "State"))
322
+ ScheduledQuery.add_member(:previous_invocation_time, Shapes::ShapeRef.new(shape: Time, location_name: "PreviousInvocationTime"))
323
+ ScheduledQuery.add_member(:next_invocation_time, Shapes::ShapeRef.new(shape: Time, location_name: "NextInvocationTime"))
324
+ ScheduledQuery.add_member(:error_report_configuration, Shapes::ShapeRef.new(shape: ErrorReportConfiguration, location_name: "ErrorReportConfiguration"))
325
+ ScheduledQuery.add_member(:target_destination, Shapes::ShapeRef.new(shape: TargetDestination, location_name: "TargetDestination"))
326
+ ScheduledQuery.add_member(:last_run_status, Shapes::ShapeRef.new(shape: ScheduledQueryRunStatus, location_name: "LastRunStatus"))
327
+ ScheduledQuery.struct_class = Types::ScheduledQuery
328
+
329
+ ScheduledQueryDescription.add_member(:arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "Arn"))
330
+ ScheduledQueryDescription.add_member(:name, Shapes::ShapeRef.new(shape: ScheduledQueryName, required: true, location_name: "Name"))
331
+ ScheduledQueryDescription.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, required: true, location_name: "QueryString"))
332
+ ScheduledQueryDescription.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
333
+ ScheduledQueryDescription.add_member(:state, Shapes::ShapeRef.new(shape: ScheduledQueryState, required: true, location_name: "State"))
334
+ ScheduledQueryDescription.add_member(:previous_invocation_time, Shapes::ShapeRef.new(shape: Time, location_name: "PreviousInvocationTime"))
335
+ ScheduledQueryDescription.add_member(:next_invocation_time, Shapes::ShapeRef.new(shape: Time, location_name: "NextInvocationTime"))
336
+ ScheduledQueryDescription.add_member(:schedule_configuration, Shapes::ShapeRef.new(shape: ScheduleConfiguration, required: true, location_name: "ScheduleConfiguration"))
337
+ ScheduledQueryDescription.add_member(:notification_configuration, Shapes::ShapeRef.new(shape: NotificationConfiguration, required: true, location_name: "NotificationConfiguration"))
338
+ ScheduledQueryDescription.add_member(:target_configuration, Shapes::ShapeRef.new(shape: TargetConfiguration, location_name: "TargetConfiguration"))
339
+ ScheduledQueryDescription.add_member(:scheduled_query_execution_role_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "ScheduledQueryExecutionRoleArn"))
340
+ ScheduledQueryDescription.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: StringValue2048, location_name: "KmsKeyId"))
341
+ ScheduledQueryDescription.add_member(:error_report_configuration, Shapes::ShapeRef.new(shape: ErrorReportConfiguration, location_name: "ErrorReportConfiguration"))
342
+ ScheduledQueryDescription.add_member(:last_run_summary, Shapes::ShapeRef.new(shape: ScheduledQueryRunSummary, location_name: "LastRunSummary"))
343
+ ScheduledQueryDescription.add_member(:recently_failed_runs, Shapes::ShapeRef.new(shape: ScheduledQueryRunSummaryList, location_name: "RecentlyFailedRuns"))
344
+ ScheduledQueryDescription.struct_class = Types::ScheduledQueryDescription
345
+
346
+ ScheduledQueryList.member = Shapes::ShapeRef.new(shape: ScheduledQuery)
347
+
348
+ ScheduledQueryRunSummary.add_member(:invocation_time, Shapes::ShapeRef.new(shape: Time, location_name: "InvocationTime"))
349
+ ScheduledQueryRunSummary.add_member(:trigger_time, Shapes::ShapeRef.new(shape: Time, location_name: "TriggerTime"))
350
+ ScheduledQueryRunSummary.add_member(:run_status, Shapes::ShapeRef.new(shape: ScheduledQueryRunStatus, location_name: "RunStatus"))
351
+ ScheduledQueryRunSummary.add_member(:execution_stats, Shapes::ShapeRef.new(shape: ExecutionStats, location_name: "ExecutionStats"))
352
+ ScheduledQueryRunSummary.add_member(:error_report_location, Shapes::ShapeRef.new(shape: ErrorReportLocation, location_name: "ErrorReportLocation"))
353
+ ScheduledQueryRunSummary.add_member(:failure_reason, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "FailureReason"))
354
+ ScheduledQueryRunSummary.struct_class = Types::ScheduledQueryRunSummary
355
+
356
+ ScheduledQueryRunSummaryList.member = Shapes::ShapeRef.new(shape: ScheduledQueryRunSummary)
357
+
358
+ SelectColumn.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
359
+ SelectColumn.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "Type"))
360
+ SelectColumn.add_member(:database_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "DatabaseName"))
361
+ SelectColumn.add_member(:table_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "TableName"))
362
+ SelectColumn.add_member(:aliased, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "Aliased"))
363
+ SelectColumn.struct_class = Types::SelectColumn
364
+
365
+ SelectColumnList.member = Shapes::ShapeRef.new(shape: SelectColumn)
366
+
367
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
368
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
369
+
370
+ SnsConfiguration.add_member(:topic_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "TopicArn"))
371
+ SnsConfiguration.struct_class = Types::SnsConfiguration
372
+
373
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
374
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
375
+ Tag.struct_class = Types::Tag
376
+
377
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
378
+
379
+ TagList.member = Shapes::ShapeRef.new(shape: Tag)
380
+
381
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
382
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
383
+ TagResourceRequest.struct_class = Types::TagResourceRequest
384
+
385
+ TagResourceResponse.struct_class = Types::TagResourceResponse
386
+
387
+ TargetConfiguration.add_member(:timestream_configuration, Shapes::ShapeRef.new(shape: TimestreamConfiguration, required: true, location_name: "TimestreamConfiguration"))
388
+ TargetConfiguration.struct_class = Types::TargetConfiguration
389
+
390
+ TargetDestination.add_member(:timestream_destination, Shapes::ShapeRef.new(shape: TimestreamDestination, location_name: "TimestreamDestination"))
391
+ TargetDestination.struct_class = Types::TargetDestination
392
+
125
393
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
126
394
  ThrottlingException.struct_class = Types::ThrottlingException
127
395
 
@@ -131,12 +399,35 @@ module Aws::TimestreamQuery
131
399
 
132
400
  TimeSeriesDataPointList.member = Shapes::ShapeRef.new(shape: TimeSeriesDataPoint)
133
401
 
402
+ TimestreamConfiguration.add_member(:database_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "DatabaseName"))
403
+ TimestreamConfiguration.add_member(:table_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "TableName"))
404
+ TimestreamConfiguration.add_member(:time_column, Shapes::ShapeRef.new(shape: SchemaName, required: true, location_name: "TimeColumn"))
405
+ TimestreamConfiguration.add_member(:dimension_mappings, Shapes::ShapeRef.new(shape: DimensionMappingList, required: true, location_name: "DimensionMappings"))
406
+ TimestreamConfiguration.add_member(:multi_measure_mappings, Shapes::ShapeRef.new(shape: MultiMeasureMappings, location_name: "MultiMeasureMappings"))
407
+ TimestreamConfiguration.add_member(:mixed_measure_mappings, Shapes::ShapeRef.new(shape: MixedMeasureMappingList, location_name: "MixedMeasureMappings"))
408
+ TimestreamConfiguration.add_member(:measure_name_column, Shapes::ShapeRef.new(shape: SchemaName, location_name: "MeasureNameColumn"))
409
+ TimestreamConfiguration.struct_class = Types::TimestreamConfiguration
410
+
411
+ TimestreamDestination.add_member(:database_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "DatabaseName"))
412
+ TimestreamDestination.add_member(:table_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "TableName"))
413
+ TimestreamDestination.struct_class = Types::TimestreamDestination
414
+
134
415
  Type.add_member(:scalar_type, Shapes::ShapeRef.new(shape: ScalarType, location_name: "ScalarType"))
135
416
  Type.add_member(:array_column_info, Shapes::ShapeRef.new(shape: ColumnInfo, location_name: "ArrayColumnInfo"))
136
417
  Type.add_member(:time_series_measure_value_column_info, Shapes::ShapeRef.new(shape: ColumnInfo, location_name: "TimeSeriesMeasureValueColumnInfo"))
137
418
  Type.add_member(:row_column_info, Shapes::ShapeRef.new(shape: ColumnInfoList, location_name: "RowColumnInfo"))
138
419
  Type.struct_class = Types::Type
139
420
 
421
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
422
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
423
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
424
+
425
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
426
+
427
+ UpdateScheduledQueryRequest.add_member(:scheduled_query_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ScheduledQueryArn"))
428
+ UpdateScheduledQueryRequest.add_member(:state, Shapes::ShapeRef.new(shape: ScheduledQueryState, required: true, location_name: "State"))
429
+ UpdateScheduledQueryRequest.struct_class = Types::UpdateScheduledQueryRequest
430
+
140
431
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
141
432
  ValidationException.struct_class = Types::ValidationException
142
433
 
@@ -178,6 +469,41 @@ module Aws::TimestreamQuery
178
469
  o.errors << Shapes::ShapeRef.new(shape: InvalidEndpointException)
179
470
  end)
180
471
 
472
+ api.add_operation(:create_scheduled_query, Seahorse::Model::Operation.new.tap do |o|
473
+ o.name = "CreateScheduledQuery"
474
+ o.http_method = "POST"
475
+ o.http_request_uri = "/"
476
+ o.endpoint_discovery = {
477
+ "required" => true,
478
+ }
479
+ o.input = Shapes::ShapeRef.new(shape: CreateScheduledQueryRequest)
480
+ o.output = Shapes::ShapeRef.new(shape: CreateScheduledQueryResponse)
481
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
482
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
483
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
484
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
485
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
486
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
487
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEndpointException)
488
+ end)
489
+
490
+ api.add_operation(:delete_scheduled_query, Seahorse::Model::Operation.new.tap do |o|
491
+ o.name = "DeleteScheduledQuery"
492
+ o.http_method = "POST"
493
+ o.http_request_uri = "/"
494
+ o.endpoint_discovery = {
495
+ "required" => true,
496
+ }
497
+ o.input = Shapes::ShapeRef.new(shape: DeleteScheduledQueryRequest)
498
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
499
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
500
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
501
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
502
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
503
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
504
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEndpointException)
505
+ end)
506
+
181
507
  api.add_operation(:describe_endpoints, Seahorse::Model::Operation.new.tap do |o|
182
508
  o.name = "DescribeEndpoints"
183
509
  o.http_method = "POST"
@@ -190,6 +516,99 @@ module Aws::TimestreamQuery
190
516
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
191
517
  end)
192
518
 
519
+ api.add_operation(:describe_scheduled_query, Seahorse::Model::Operation.new.tap do |o|
520
+ o.name = "DescribeScheduledQuery"
521
+ o.http_method = "POST"
522
+ o.http_request_uri = "/"
523
+ o.endpoint_discovery = {
524
+ "required" => true,
525
+ }
526
+ o.input = Shapes::ShapeRef.new(shape: DescribeScheduledQueryRequest)
527
+ o.output = Shapes::ShapeRef.new(shape: DescribeScheduledQueryResponse)
528
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
529
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
530
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
531
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
532
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
533
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEndpointException)
534
+ end)
535
+
536
+ api.add_operation(:execute_scheduled_query, Seahorse::Model::Operation.new.tap do |o|
537
+ o.name = "ExecuteScheduledQuery"
538
+ o.http_method = "POST"
539
+ o.http_request_uri = "/"
540
+ o.endpoint_discovery = {
541
+ "required" => true,
542
+ }
543
+ o.input = Shapes::ShapeRef.new(shape: ExecuteScheduledQueryRequest)
544
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
545
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
546
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
547
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
548
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
549
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
550
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEndpointException)
551
+ end)
552
+
553
+ api.add_operation(:list_scheduled_queries, Seahorse::Model::Operation.new.tap do |o|
554
+ o.name = "ListScheduledQueries"
555
+ o.http_method = "POST"
556
+ o.http_request_uri = "/"
557
+ o.endpoint_discovery = {
558
+ "required" => true,
559
+ }
560
+ o.input = Shapes::ShapeRef.new(shape: ListScheduledQueriesRequest)
561
+ o.output = Shapes::ShapeRef.new(shape: ListScheduledQueriesResponse)
562
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
563
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
564
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
565
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
566
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEndpointException)
567
+ o[:pager] = Aws::Pager.new(
568
+ limit_key: "max_results",
569
+ tokens: {
570
+ "next_token" => "next_token"
571
+ }
572
+ )
573
+ end)
574
+
575
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
576
+ o.name = "ListTagsForResource"
577
+ o.http_method = "POST"
578
+ o.http_request_uri = "/"
579
+ o.endpoint_discovery = {
580
+ "required" => true,
581
+ }
582
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
583
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
584
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
585
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
586
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
587
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEndpointException)
588
+ o[:pager] = Aws::Pager.new(
589
+ limit_key: "max_results",
590
+ tokens: {
591
+ "next_token" => "next_token"
592
+ }
593
+ )
594
+ end)
595
+
596
+ api.add_operation(:prepare_query, Seahorse::Model::Operation.new.tap do |o|
597
+ o.name = "PrepareQuery"
598
+ o.http_method = "POST"
599
+ o.http_request_uri = "/"
600
+ o.endpoint_discovery = {
601
+ "required" => true,
602
+ }
603
+ o.input = Shapes::ShapeRef.new(shape: PrepareQueryRequest)
604
+ o.output = Shapes::ShapeRef.new(shape: PrepareQueryResponse)
605
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
606
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
607
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
608
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
609
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEndpointException)
610
+ end)
611
+
193
612
  api.add_operation(:query, Seahorse::Model::Operation.new.tap do |o|
194
613
  o.name = "Query"
195
614
  o.http_method = "POST"
@@ -213,6 +632,54 @@ module Aws::TimestreamQuery
213
632
  }
214
633
  )
215
634
  end)
635
+
636
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
637
+ o.name = "TagResource"
638
+ o.http_method = "POST"
639
+ o.http_request_uri = "/"
640
+ o.endpoint_discovery = {
641
+ "required" => true,
642
+ }
643
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
644
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
645
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
646
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
647
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
648
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
649
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEndpointException)
650
+ end)
651
+
652
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
653
+ o.name = "UntagResource"
654
+ o.http_method = "POST"
655
+ o.http_request_uri = "/"
656
+ o.endpoint_discovery = {
657
+ "required" => true,
658
+ }
659
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
660
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
661
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
662
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
663
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
664
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEndpointException)
665
+ end)
666
+
667
+ api.add_operation(:update_scheduled_query, Seahorse::Model::Operation.new.tap do |o|
668
+ o.name = "UpdateScheduledQuery"
669
+ o.http_method = "POST"
670
+ o.http_request_uri = "/"
671
+ o.endpoint_discovery = {
672
+ "required" => true,
673
+ }
674
+ o.input = Shapes::ShapeRef.new(shape: UpdateScheduledQueryRequest)
675
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
676
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
677
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
678
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
679
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
680
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
681
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEndpointException)
682
+ end)
216
683
  end
217
684
 
218
685
  end