aws-sdk-timestreamquery 1.17.0 → 1.18.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 29beaaac1cbee0e2fa6f91b7665aca9954cb3e7d46b58a448cf27b355e8561ad
4
- data.tar.gz: b89ad798f4a9db34f7cf653b5d7ab5e5c76d835f64c574727376b00937ccb95b
3
+ metadata.gz: f60e505f2bef5e97bc001d6f90aebb7408637f052a67b92062c6b29a0e6e4ff9
4
+ data.tar.gz: bd07eba521036a51e5d0939ffb5d17ab25b2ef0a65c338cf118e1b10a6267873
5
5
  SHA512:
6
- metadata.gz: 590b853707fe728b9155e0afe7f3278d05241927ec9ed8f7b7253d257f550f2314f22723057b9ea06ad0d387df6d47ee9743b74891dc858f61f293d6fc528a66
7
- data.tar.gz: 1ec8693da91a453b4b114175815b1b558c246bc12afcd96e61d3000388e61712f6ac8f2a2bd26b8a11608b3827201c01afb70bc4aeee5d8fd393fdc08605147a
6
+ metadata.gz: 4e87fc61094f131ee4d4a2afed886b240d82998eaa449be2f740f680f5fcbc18852df08ddce27875d925a4bd404712aae4b47c7fa6e9169888581ea2faaf16c5
7
+ data.tar.gz: 6550729c4309efbe93ec71d3778eb7a561a8cff9036d6f87ef3f8925256d41dac80564a5474a196b90b54b9151cf707af99258c2a0b53a1e83058a5b5815e039
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.18.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
4
11
  1.17.0 (2022-10-25)
5
12
  ------------------
6
13
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.17.0
1
+ 1.18.0
@@ -1178,7 +1178,7 @@ module Aws::TimestreamQuery
1178
1178
  params: params,
1179
1179
  config: config)
1180
1180
  context[:gem_name] = 'aws-sdk-timestreamquery'
1181
- context[:gem_version] = '1.17.0'
1181
+ context[:gem_version] = '1.18.0'
1182
1182
  Seahorse::Client::Request.new(handlers, context)
1183
1183
  end
1184
1184
 
@@ -9,103 +9,43 @@
9
9
 
10
10
  module Aws::TimestreamQuery
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://query.timestream-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://query.timestream-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://query.timestream.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://query.timestream.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluI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iOiJlbmRwb2ludCJ9XX0seyJjb25k
102
- aXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBidXQg
103
- dGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0
104
- eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7
105
- InVybCI6Imh0dHBzOi8vcXVlcnkudGltZXN0cmVhbS57UmVnaW9ufS57UGFy
106
- dGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVh
107
- ZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
108
-
109
- JSON
110
50
  end
111
51
  end
@@ -23,13 +23,6 @@ module Aws::TimestreamQuery
23
23
  include Aws::Structure
24
24
  end
25
25
 
26
- # @note When making an API call, you may pass CancelQueryRequest
27
- # data as a hash:
28
- #
29
- # {
30
- # query_id: "QueryId", # required
31
- # }
32
- #
33
26
  # @!attribute [rw] query_id
34
27
  # The ID of the query that needs to be cancelled. `QueryID` is
35
28
  # returned as part of the query result.
@@ -93,77 +86,6 @@ module Aws::TimestreamQuery
93
86
  include Aws::Structure
94
87
  end
95
88
 
96
- # @note When making an API call, you may pass CreateScheduledQueryRequest
97
- # data as a hash:
98
- #
99
- # {
100
- # name: "ScheduledQueryName", # required
101
- # query_string: "QueryString", # required
102
- # schedule_configuration: { # required
103
- # schedule_expression: "ScheduleExpression", # required
104
- # },
105
- # notification_configuration: { # required
106
- # sns_configuration: { # required
107
- # topic_arn: "AmazonResourceName", # required
108
- # },
109
- # },
110
- # target_configuration: {
111
- # timestream_configuration: { # required
112
- # database_name: "ResourceName", # required
113
- # table_name: "ResourceName", # required
114
- # time_column: "SchemaName", # required
115
- # dimension_mappings: [ # required
116
- # {
117
- # name: "SchemaName", # required
118
- # dimension_value_type: "VARCHAR", # required, accepts VARCHAR
119
- # },
120
- # ],
121
- # multi_measure_mappings: {
122
- # target_multi_measure_name: "SchemaName",
123
- # multi_measure_attribute_mappings: [ # required
124
- # {
125
- # source_column: "SchemaName", # required
126
- # target_multi_measure_attribute_name: "SchemaName",
127
- # measure_value_type: "BIGINT", # required, accepts BIGINT, BOOLEAN, DOUBLE, VARCHAR, TIMESTAMP
128
- # },
129
- # ],
130
- # },
131
- # mixed_measure_mappings: [
132
- # {
133
- # measure_name: "SchemaName",
134
- # source_column: "SchemaName",
135
- # target_measure_name: "SchemaName",
136
- # measure_value_type: "BIGINT", # required, accepts BIGINT, BOOLEAN, DOUBLE, VARCHAR, MULTI
137
- # multi_measure_attribute_mappings: [
138
- # {
139
- # source_column: "SchemaName", # required
140
- # target_multi_measure_attribute_name: "SchemaName",
141
- # measure_value_type: "BIGINT", # required, accepts BIGINT, BOOLEAN, DOUBLE, VARCHAR, TIMESTAMP
142
- # },
143
- # ],
144
- # },
145
- # ],
146
- # measure_name_column: "SchemaName",
147
- # },
148
- # },
149
- # client_token: "ClientToken",
150
- # scheduled_query_execution_role_arn: "AmazonResourceName", # required
151
- # tags: [
152
- # {
153
- # key: "TagKey", # required
154
- # value: "TagValue", # required
155
- # },
156
- # ],
157
- # kms_key_id: "StringValue2048",
158
- # error_report_configuration: { # required
159
- # s3_configuration: { # required
160
- # bucket_name: "S3BucketName", # required
161
- # object_key_prefix: "S3ObjectKeyPrefix",
162
- # encryption_option: "SSE_S3", # accepts SSE_S3, SSE_KMS
163
- # },
164
- # },
165
- # }
166
- #
167
89
  # @!attribute [rw] name
168
90
  # Name of the scheduled query.
169
91
  # @return [String]
@@ -302,13 +224,6 @@ module Aws::TimestreamQuery
302
224
  include Aws::Structure
303
225
  end
304
226
 
305
- # @note When making an API call, you may pass DeleteScheduledQueryRequest
306
- # data as a hash:
307
- #
308
- # {
309
- # scheduled_query_arn: "AmazonResourceName", # required
310
- # }
311
- #
312
227
  # @!attribute [rw] scheduled_query_arn
313
228
  # The ARN of the scheduled query.
314
229
  # @return [String]
@@ -340,13 +255,6 @@ module Aws::TimestreamQuery
340
255
  include Aws::Structure
341
256
  end
342
257
 
343
- # @note When making an API call, you may pass DescribeScheduledQueryRequest
344
- # data as a hash:
345
- #
346
- # {
347
- # scheduled_query_arn: "AmazonResourceName", # required
348
- # }
349
- #
350
258
  # @!attribute [rw] scheduled_query_arn
351
259
  # The ARN of the scheduled query.
352
260
  # @return [String]
@@ -374,14 +282,6 @@ module Aws::TimestreamQuery
374
282
  # This type is used to map column(s) from the query result to a
375
283
  # dimension in the destination table.
376
284
  #
377
- # @note When making an API call, you may pass DimensionMapping
378
- # data as a hash:
379
- #
380
- # {
381
- # name: "SchemaName", # required
382
- # dimension_value_type: "VARCHAR", # required, accepts VARCHAR
383
- # }
384
- #
385
285
  # @!attribute [rw] name
386
286
  # Column name from query result.
387
287
  # @return [String]
@@ -421,17 +321,6 @@ module Aws::TimestreamQuery
421
321
 
422
322
  # Configuration required for error reporting.
423
323
  #
424
- # @note When making an API call, you may pass ErrorReportConfiguration
425
- # data as a hash:
426
- #
427
- # {
428
- # s3_configuration: { # required
429
- # bucket_name: "S3BucketName", # required
430
- # object_key_prefix: "S3ObjectKeyPrefix",
431
- # encryption_option: "SSE_S3", # accepts SSE_S3, SSE_KMS
432
- # },
433
- # }
434
- #
435
324
  # @!attribute [rw] s3_configuration
436
325
  # The S3 configuration for the error reports.
437
326
  # @return [Types::S3Configuration]
@@ -459,15 +348,6 @@ module Aws::TimestreamQuery
459
348
  include Aws::Structure
460
349
  end
461
350
 
462
- # @note When making an API call, you may pass ExecuteScheduledQueryRequest
463
- # data as a hash:
464
- #
465
- # {
466
- # scheduled_query_arn: "AmazonResourceName", # required
467
- # invocation_time: Time.now, # required
468
- # client_token: "ClientToken",
469
- # }
470
- #
471
351
  # @!attribute [rw] scheduled_query_arn
472
352
  # ARN of the scheduled query.
473
353
  # @return [String]
@@ -558,14 +438,6 @@ module Aws::TimestreamQuery
558
438
  include Aws::Structure
559
439
  end
560
440
 
561
- # @note When making an API call, you may pass ListScheduledQueriesRequest
562
- # data as a hash:
563
- #
564
- # {
565
- # max_results: 1,
566
- # next_token: "NextScheduledQueriesResultsToken",
567
- # }
568
- #
569
441
  # @!attribute [rw] max_results
570
442
  # The maximum number of items to return in the output. If the total
571
443
  # number of items available is more than the value specified, a
@@ -605,15 +477,6 @@ module Aws::TimestreamQuery
605
477
  include Aws::Structure
606
478
  end
607
479
 
608
- # @note When making an API call, you may pass ListTagsForResourceRequest
609
- # data as a hash:
610
- #
611
- # {
612
- # resource_arn: "AmazonResourceName", # required
613
- # max_results: 1,
614
- # next_token: "NextTagsForResourceResultsToken",
615
- # }
616
- #
617
480
  # @!attribute [rw] resource_arn
618
481
  # The Timestream resource with tags to be listed. This value is an
619
482
  # Amazon Resource Name (ARN).
@@ -658,23 +521,6 @@ module Aws::TimestreamQuery
658
521
  # MixedMeasureMappings are mappings that can be used to ingest data into
659
522
  # a mixture of narrow and multi measures in the derived table.
660
523
  #
661
- # @note When making an API call, you may pass MixedMeasureMapping
662
- # data as a hash:
663
- #
664
- # {
665
- # measure_name: "SchemaName",
666
- # source_column: "SchemaName",
667
- # target_measure_name: "SchemaName",
668
- # measure_value_type: "BIGINT", # required, accepts BIGINT, BOOLEAN, DOUBLE, VARCHAR, MULTI
669
- # multi_measure_attribute_mappings: [
670
- # {
671
- # source_column: "SchemaName", # required
672
- # target_multi_measure_attribute_name: "SchemaName",
673
- # measure_value_type: "BIGINT", # required, accepts BIGINT, BOOLEAN, DOUBLE, VARCHAR, TIMESTAMP
674
- # },
675
- # ],
676
- # }
677
- #
678
524
  # @!attribute [rw] measure_name
679
525
  # Refers to the value of measure\_name in a result row. This field is
680
526
  # required if MeasureNameColumn is provided.
@@ -715,15 +561,6 @@ module Aws::TimestreamQuery
715
561
 
716
562
  # Attribute mapping for MULTI value measures.
717
563
  #
718
- # @note When making an API call, you may pass MultiMeasureAttributeMapping
719
- # data as a hash:
720
- #
721
- # {
722
- # source_column: "SchemaName", # required
723
- # target_multi_measure_attribute_name: "SchemaName",
724
- # measure_value_type: "BIGINT", # required, accepts BIGINT, BOOLEAN, DOUBLE, VARCHAR, TIMESTAMP
725
- # }
726
- #
727
564
  # @!attribute [rw] source_column
728
565
  # Source column from where the attribute value is to be read.
729
566
  # @return [String]
@@ -751,20 +588,6 @@ module Aws::TimestreamQuery
751
588
  # provided. MultiMeasureMappings can be used to ingest data as multi
752
589
  # measures in the derived table.
753
590
  #
754
- # @note When making an API call, you may pass MultiMeasureMappings
755
- # data as a hash:
756
- #
757
- # {
758
- # target_multi_measure_name: "SchemaName",
759
- # multi_measure_attribute_mappings: [ # required
760
- # {
761
- # source_column: "SchemaName", # required
762
- # target_multi_measure_attribute_name: "SchemaName",
763
- # measure_value_type: "BIGINT", # required, accepts BIGINT, BOOLEAN, DOUBLE, VARCHAR, TIMESTAMP
764
- # },
765
- # ],
766
- # }
767
- #
768
591
  # @!attribute [rw] target_multi_measure_name
769
592
  # The name of the target multi-measure name in the derived table. This
770
593
  # input is required when measureNameColumn is not provided. If
@@ -790,15 +613,6 @@ module Aws::TimestreamQuery
790
613
  # sent by Timestream when a scheduled query is created, its state is
791
614
  # updated or when it is deleted.
792
615
  #
793
- # @note When making an API call, you may pass NotificationConfiguration
794
- # data as a hash:
795
- #
796
- # {
797
- # sns_configuration: { # required
798
- # topic_arn: "AmazonResourceName", # required
799
- # },
800
- # }
801
- #
802
616
  # @!attribute [rw] sns_configuration
803
617
  # Details on SNS configuration.
804
618
  # @return [Types::SnsConfiguration]
@@ -834,14 +648,6 @@ module Aws::TimestreamQuery
834
648
  include Aws::Structure
835
649
  end
836
650
 
837
- # @note When making an API call, you may pass PrepareQueryRequest
838
- # data as a hash:
839
- #
840
- # {
841
- # query_string: "QueryString", # required
842
- # validate_only: false,
843
- # }
844
- #
845
651
  # @!attribute [rw] query_string
846
652
  # The Timestream query string that you want to use as a prepared
847
653
  # statement. Parameter names can be specified in the query string `@`
@@ -898,16 +704,6 @@ module Aws::TimestreamQuery
898
704
  include Aws::Structure
899
705
  end
900
706
 
901
- # @note When making an API call, you may pass QueryRequest
902
- # data as a hash:
903
- #
904
- # {
905
- # query_string: "QueryString", # required
906
- # client_token: "ClientRequestToken",
907
- # next_token: "PaginationToken",
908
- # max_rows: 1,
909
- # }
910
- #
911
707
  # @!attribute [rw] query_string
912
708
  # The query to be run by Timestream.
913
709
  # @return [String]
@@ -1104,15 +900,6 @@ module Aws::TimestreamQuery
1104
900
  # Details on S3 location for error reports that result from running a
1105
901
  # query.
1106
902
  #
1107
- # @note When making an API call, you may pass S3Configuration
1108
- # data as a hash:
1109
- #
1110
- # {
1111
- # bucket_name: "S3BucketName", # required
1112
- # object_key_prefix: "S3ObjectKeyPrefix",
1113
- # encryption_option: "SSE_S3", # accepts SSE_S3, SSE_KMS
1114
- # }
1115
- #
1116
903
  # @!attribute [rw] bucket_name
1117
904
  # Name of the S3 bucket under which error reports will be created.
1118
905
  # @return [String]
@@ -1158,13 +945,6 @@ module Aws::TimestreamQuery
1158
945
 
1159
946
  # Configuration of the schedule of the query.
1160
947
  #
1161
- # @note When making an API call, you may pass ScheduleConfiguration
1162
- # data as a hash:
1163
- #
1164
- # {
1165
- # schedule_expression: "ScheduleExpression", # required
1166
- # }
1167
- #
1168
948
  # @!attribute [rw] schedule_expression
1169
949
  # An expression that denotes when to trigger the scheduled query run.
1170
950
  # This can be a cron expression or a rate expression.
@@ -1413,13 +1193,6 @@ module Aws::TimestreamQuery
1413
1193
 
1414
1194
  # Details on SNS that are required to send the notification.
1415
1195
  #
1416
- # @note When making an API call, you may pass SnsConfiguration
1417
- # data as a hash:
1418
- #
1419
- # {
1420
- # topic_arn: "AmazonResourceName", # required
1421
- # }
1422
- #
1423
1196
  # @!attribute [rw] topic_arn
1424
1197
  # SNS topic ARN that the scheduled query status notifications will be
1425
1198
  # sent to.
@@ -1438,14 +1211,6 @@ module Aws::TimestreamQuery
1438
1211
  # you define. Tags enable you to categorize databases and/or tables, for
1439
1212
  # example, by purpose, owner, or environment.
1440
1213
  #
1441
- # @note When making an API call, you may pass Tag
1442
- # data as a hash:
1443
- #
1444
- # {
1445
- # key: "TagKey", # required
1446
- # value: "TagValue", # required
1447
- # }
1448
- #
1449
1214
  # @!attribute [rw] key
1450
1215
  # The key of the tag. Tag keys are case sensitive.
1451
1216
  # @return [String]
@@ -1463,19 +1228,6 @@ module Aws::TimestreamQuery
1463
1228
  include Aws::Structure
1464
1229
  end
1465
1230
 
1466
- # @note When making an API call, you may pass TagResourceRequest
1467
- # data as a hash:
1468
- #
1469
- # {
1470
- # resource_arn: "AmazonResourceName", # required
1471
- # tags: [ # required
1472
- # {
1473
- # key: "TagKey", # required
1474
- # value: "TagValue", # required
1475
- # },
1476
- # ],
1477
- # }
1478
- #
1479
1231
  # @!attribute [rw] resource_arn
1480
1232
  # Identifies the Timestream resource to which tags should be added.
1481
1233
  # This value is an Amazon Resource Name (ARN).
@@ -1500,49 +1252,6 @@ module Aws::TimestreamQuery
1500
1252
 
1501
1253
  # Configuration used for writing the output of a query.
1502
1254
  #
1503
- # @note When making an API call, you may pass TargetConfiguration
1504
- # data as a hash:
1505
- #
1506
- # {
1507
- # timestream_configuration: { # required
1508
- # database_name: "ResourceName", # required
1509
- # table_name: "ResourceName", # required
1510
- # time_column: "SchemaName", # required
1511
- # dimension_mappings: [ # required
1512
- # {
1513
- # name: "SchemaName", # required
1514
- # dimension_value_type: "VARCHAR", # required, accepts VARCHAR
1515
- # },
1516
- # ],
1517
- # multi_measure_mappings: {
1518
- # target_multi_measure_name: "SchemaName",
1519
- # multi_measure_attribute_mappings: [ # required
1520
- # {
1521
- # source_column: "SchemaName", # required
1522
- # target_multi_measure_attribute_name: "SchemaName",
1523
- # measure_value_type: "BIGINT", # required, accepts BIGINT, BOOLEAN, DOUBLE, VARCHAR, TIMESTAMP
1524
- # },
1525
- # ],
1526
- # },
1527
- # mixed_measure_mappings: [
1528
- # {
1529
- # measure_name: "SchemaName",
1530
- # source_column: "SchemaName",
1531
- # target_measure_name: "SchemaName",
1532
- # measure_value_type: "BIGINT", # required, accepts BIGINT, BOOLEAN, DOUBLE, VARCHAR, MULTI
1533
- # multi_measure_attribute_mappings: [
1534
- # {
1535
- # source_column: "SchemaName", # required
1536
- # target_multi_measure_attribute_name: "SchemaName",
1537
- # measure_value_type: "BIGINT", # required, accepts BIGINT, BOOLEAN, DOUBLE, VARCHAR, TIMESTAMP
1538
- # },
1539
- # ],
1540
- # },
1541
- # ],
1542
- # measure_name_column: "SchemaName",
1543
- # },
1544
- # }
1545
- #
1546
1255
  # @!attribute [rw] timestream_configuration
1547
1256
  # Configuration needed to write data into the Timestream database and
1548
1257
  # table.
@@ -1611,47 +1320,6 @@ module Aws::TimestreamQuery
1611
1320
  # configuration allows the user to map the query result select columns
1612
1321
  # into the destination table columns.
1613
1322
  #
1614
- # @note When making an API call, you may pass TimestreamConfiguration
1615
- # data as a hash:
1616
- #
1617
- # {
1618
- # database_name: "ResourceName", # required
1619
- # table_name: "ResourceName", # required
1620
- # time_column: "SchemaName", # required
1621
- # dimension_mappings: [ # required
1622
- # {
1623
- # name: "SchemaName", # required
1624
- # dimension_value_type: "VARCHAR", # required, accepts VARCHAR
1625
- # },
1626
- # ],
1627
- # multi_measure_mappings: {
1628
- # target_multi_measure_name: "SchemaName",
1629
- # multi_measure_attribute_mappings: [ # required
1630
- # {
1631
- # source_column: "SchemaName", # required
1632
- # target_multi_measure_attribute_name: "SchemaName",
1633
- # measure_value_type: "BIGINT", # required, accepts BIGINT, BOOLEAN, DOUBLE, VARCHAR, TIMESTAMP
1634
- # },
1635
- # ],
1636
- # },
1637
- # mixed_measure_mappings: [
1638
- # {
1639
- # measure_name: "SchemaName",
1640
- # source_column: "SchemaName",
1641
- # target_measure_name: "SchemaName",
1642
- # measure_value_type: "BIGINT", # required, accepts BIGINT, BOOLEAN, DOUBLE, VARCHAR, MULTI
1643
- # multi_measure_attribute_mappings: [
1644
- # {
1645
- # source_column: "SchemaName", # required
1646
- # target_multi_measure_attribute_name: "SchemaName",
1647
- # measure_value_type: "BIGINT", # required, accepts BIGINT, BOOLEAN, DOUBLE, VARCHAR, TIMESTAMP
1648
- # },
1649
- # ],
1650
- # },
1651
- # ],
1652
- # measure_name_column: "SchemaName",
1653
- # }
1654
- #
1655
1323
  # @!attribute [rw] database_name
1656
1324
  # Name of Timestream database to which the query result will be
1657
1325
  # written.
@@ -1752,14 +1420,6 @@ module Aws::TimestreamQuery
1752
1420
  include Aws::Structure
1753
1421
  end
1754
1422
 
1755
- # @note When making an API call, you may pass UntagResourceRequest
1756
- # data as a hash:
1757
- #
1758
- # {
1759
- # resource_arn: "AmazonResourceName", # required
1760
- # tag_keys: ["TagKey"], # required
1761
- # }
1762
- #
1763
1423
  # @!attribute [rw] resource_arn
1764
1424
  # The Timestream resource that the tags will be removed from. This
1765
1425
  # value is an Amazon Resource Name (ARN).
@@ -1783,14 +1443,6 @@ module Aws::TimestreamQuery
1783
1443
  #
1784
1444
  class UntagResourceResponse < Aws::EmptyStructure; end
1785
1445
 
1786
- # @note When making an API call, you may pass UpdateScheduledQueryRequest
1787
- # data as a hash:
1788
- #
1789
- # {
1790
- # scheduled_query_arn: "AmazonResourceName", # required
1791
- # state: "ENABLED", # required, accepts ENABLED, DISABLED
1792
- # }
1793
- #
1794
1446
  # @!attribute [rw] scheduled_query_arn
1795
1447
  # ARN of the scheuled query.
1796
1448
  # @return [String]
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-timestreamquery/customizations'
52
52
  # @!group service
53
53
  module Aws::TimestreamQuery
54
54
 
55
- GEM_VERSION = '1.17.0'
55
+ GEM_VERSION = '1.18.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-timestreamquery
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.0
4
+ version: 1.18.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: 2022-10-25 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core