aws-sdk-timestreamwrite 1.15.0 → 1.16.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: 65ba86c8e63b7cdd46ad1708578906bf12dbb99e981f560b6a7a382bffcf86bb
4
- data.tar.gz: 3d75a76bacaad0709120b8d1277e6c22f6de81d62e78010ffc110874b95501a6
3
+ metadata.gz: 533d244536b4849c1f70f990ebcb131d14ffba6bcfb5be44a0ee4b6af4033c05
4
+ data.tar.gz: d8a3a9565744e2fbb86629c5be97bf9a88f150cf57ef2c4ee3648c1b566d87d8
5
5
  SHA512:
6
- metadata.gz: 1a7063069422c04590d9c0168bbd02d5389bb3f52dcadb80c3ee85f9d4ed03b0ef5452febf3d9cde62de1d947b6908ca8b523f3b281ad6eb58a1977167a6fdc0
7
- data.tar.gz: d72350624cd66fd8c816692f315f40918a0f4746a2f5ee5ce34911f1ce48c8c7f27a3598658f8696a9b98eef72f3d2c6a45df736ea122e70eaa3001c6f258667
6
+ metadata.gz: 6565ada6da2f67162fac839376bde5d1588e93b4ab2919e3b126382be143a2b3b7b453b8fceda3a3209698befee5845c51ccb35feb0dd8c389ee95ae9522f310
7
+ data.tar.gz: c3316d33266829587cdb5c0b8e5196f28003ca198902301fb30664ba62bddca37229e8cd6b2469395982c98bb5ed3fc952baa082656dd99b8ca2ddcd643f3e2d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.16.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.15.0 (2022-10-25)
5
12
  ------------------
6
13
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.15.0
1
+ 1.16.0
@@ -1243,7 +1243,7 @@ module Aws::TimestreamWrite
1243
1243
  params: params,
1244
1244
  config: config)
1245
1245
  context[:gem_name] = 'aws-sdk-timestreamwrite'
1246
- context[:gem_version] = '1.15.0'
1246
+ context[:gem_version] = '1.16.0'
1247
1247
  Seahorse::Client::Request.new(handlers, context)
1248
1248
  end
1249
1249
 
@@ -9,103 +9,43 @@
9
9
 
10
10
  module Aws::TimestreamWrite
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://ingest.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://ingest.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://ingest.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://ingest.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
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdG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0sInR5cGUiOiJlbmRwb2ludCJ9XX0seyJj
102
- b25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBi
103
- dXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2si
104
- LCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50
105
- Ijp7InVybCI6Imh0dHBzOi8vaW5nZXN0LnRpbWVzdHJlYW0ue1JlZ2lvbn0u
106
- e1BhcnRpdGlvblJlc3VsdCNkbnNTdWZmaXh9IiwicHJvcGVydGllcyI6e30s
107
- ImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfV19
108
-
109
- JSON
110
50
  end
111
51
  end
@@ -37,20 +37,6 @@ module Aws::TimestreamWrite
37
37
  include Aws::Structure
38
38
  end
39
39
 
40
- # @note When making an API call, you may pass CreateDatabaseRequest
41
- # data as a hash:
42
- #
43
- # {
44
- # database_name: "ResourceCreateAPIName", # required
45
- # kms_key_id: "StringValue2048",
46
- # tags: [
47
- # {
48
- # key: "TagKey", # required
49
- # value: "TagValue", # required
50
- # },
51
- # ],
52
- # }
53
- #
54
40
  # @!attribute [rw] database_name
55
41
  # The name of the Timestream database.
56
42
  # @return [String]
@@ -92,35 +78,6 @@ module Aws::TimestreamWrite
92
78
  include Aws::Structure
93
79
  end
94
80
 
95
- # @note When making an API call, you may pass CreateTableRequest
96
- # data as a hash:
97
- #
98
- # {
99
- # database_name: "ResourceCreateAPIName", # required
100
- # table_name: "ResourceCreateAPIName", # required
101
- # retention_properties: {
102
- # memory_store_retention_period_in_hours: 1, # required
103
- # magnetic_store_retention_period_in_days: 1, # required
104
- # },
105
- # tags: [
106
- # {
107
- # key: "TagKey", # required
108
- # value: "TagValue", # required
109
- # },
110
- # ],
111
- # magnetic_store_write_properties: {
112
- # enable_magnetic_store_writes: false, # required
113
- # magnetic_store_rejected_data_location: {
114
- # s3_configuration: {
115
- # bucket_name: "S3BucketName",
116
- # object_key_prefix: "S3ObjectKeyPrefix",
117
- # encryption_option: "SSE_S3", # accepts SSE_S3, SSE_KMS
118
- # kms_key_id: "StringValue2048",
119
- # },
120
- # },
121
- # },
122
- # }
123
- #
124
81
  # @!attribute [rw] database_name
125
82
  # The name of the Timestream database.
126
83
  # @return [String]
@@ -210,13 +167,6 @@ module Aws::TimestreamWrite
210
167
  include Aws::Structure
211
168
  end
212
169
 
213
- # @note When making an API call, you may pass DeleteDatabaseRequest
214
- # data as a hash:
215
- #
216
- # {
217
- # database_name: "ResourceName", # required
218
- # }
219
- #
220
170
  # @!attribute [rw] database_name
221
171
  # The name of the Timestream database to be deleted.
222
172
  # @return [String]
@@ -229,14 +179,6 @@ module Aws::TimestreamWrite
229
179
  include Aws::Structure
230
180
  end
231
181
 
232
- # @note When making an API call, you may pass DeleteTableRequest
233
- # data as a hash:
234
- #
235
- # {
236
- # database_name: "ResourceName", # required
237
- # table_name: "ResourceName", # required
238
- # }
239
- #
240
182
  # @!attribute [rw] database_name
241
183
  # The name of the database where the Timestream database is to be
242
184
  # deleted.
@@ -255,13 +197,6 @@ module Aws::TimestreamWrite
255
197
  include Aws::Structure
256
198
  end
257
199
 
258
- # @note When making an API call, you may pass DescribeDatabaseRequest
259
- # data as a hash:
260
- #
261
- # {
262
- # database_name: "ResourceName", # required
263
- # }
264
- #
265
200
  # @!attribute [rw] database_name
266
201
  # The name of the Timestream database.
267
202
  # @return [String]
@@ -305,14 +240,6 @@ module Aws::TimestreamWrite
305
240
  include Aws::Structure
306
241
  end
307
242
 
308
- # @note When making an API call, you may pass DescribeTableRequest
309
- # data as a hash:
310
- #
311
- # {
312
- # database_name: "ResourceName", # required
313
- # table_name: "ResourceName", # required
314
- # }
315
- #
316
243
  # @!attribute [rw] database_name
317
244
  # The name of the Timestream database.
318
245
  # @return [String]
@@ -346,15 +273,6 @@ module Aws::TimestreamWrite
346
273
  # example, the name and availability zone of an EC2 instance or the name
347
274
  # of the manufacturer of a wind turbine are dimensions.
348
275
  #
349
- # @note When making an API call, you may pass Dimension
350
- # data as a hash:
351
- #
352
- # {
353
- # name: "SchemaName", # required
354
- # value: "SchemaValue", # required
355
- # dimension_value_type: "VARCHAR", # accepts VARCHAR
356
- # }
357
- #
358
276
  # @!attribute [rw] name
359
277
  # Dimension represents the meta data attributes of the time series.
360
278
  # For example, the name and availability zone of an EC2 instance or
@@ -432,14 +350,6 @@ module Aws::TimestreamWrite
432
350
  include Aws::Structure
433
351
  end
434
352
 
435
- # @note When making an API call, you may pass ListDatabasesRequest
436
- # data as a hash:
437
- #
438
- # {
439
- # next_token: "String",
440
- # max_results: 1,
441
- # }
442
- #
443
353
  # @!attribute [rw] next_token
444
354
  # The pagination token. To resume pagination, provide the NextToken
445
355
  # value as argument of a subsequent API invocation.
@@ -479,15 +389,6 @@ module Aws::TimestreamWrite
479
389
  include Aws::Structure
480
390
  end
481
391
 
482
- # @note When making an API call, you may pass ListTablesRequest
483
- # data as a hash:
484
- #
485
- # {
486
- # database_name: "ResourceName",
487
- # next_token: "String",
488
- # max_results: 1,
489
- # }
490
- #
491
392
  # @!attribute [rw] database_name
492
393
  # The name of the Timestream database.
493
394
  # @return [String]
@@ -532,13 +433,6 @@ module Aws::TimestreamWrite
532
433
  include Aws::Structure
533
434
  end
534
435
 
535
- # @note When making an API call, you may pass ListTagsForResourceRequest
536
- # data as a hash:
537
- #
538
- # {
539
- # resource_arn: "AmazonResourceName", # required
540
- # }
541
- #
542
436
  # @!attribute [rw] resource_arn
543
437
  # The Timestream resource with tags to be listed. This value is an
544
438
  # Amazon Resource Name (ARN).
@@ -567,18 +461,6 @@ module Aws::TimestreamWrite
567
461
  # The location to write error reports for records rejected,
568
462
  # asynchronously, during magnetic store writes.
569
463
  #
570
- # @note When making an API call, you may pass MagneticStoreRejectedDataLocation
571
- # data as a hash:
572
- #
573
- # {
574
- # s3_configuration: {
575
- # bucket_name: "S3BucketName",
576
- # object_key_prefix: "S3ObjectKeyPrefix",
577
- # encryption_option: "SSE_S3", # accepts SSE_S3, SSE_KMS
578
- # kms_key_id: "StringValue2048",
579
- # },
580
- # }
581
- #
582
464
  # @!attribute [rw] s3_configuration
583
465
  # Configuration of an S3 location to write error reports for records
584
466
  # rejected, asynchronously, during magnetic store writes.
@@ -595,21 +477,6 @@ module Aws::TimestreamWrite
595
477
  # The set of properties on a table for configuring magnetic store
596
478
  # writes.
597
479
  #
598
- # @note When making an API call, you may pass MagneticStoreWriteProperties
599
- # data as a hash:
600
- #
601
- # {
602
- # enable_magnetic_store_writes: false, # required
603
- # magnetic_store_rejected_data_location: {
604
- # s3_configuration: {
605
- # bucket_name: "S3BucketName",
606
- # object_key_prefix: "S3ObjectKeyPrefix",
607
- # encryption_option: "SSE_S3", # accepts SSE_S3, SSE_KMS
608
- # kms_key_id: "StringValue2048",
609
- # },
610
- # },
611
- # }
612
- #
613
480
  # @!attribute [rw] enable_magnetic_store_writes
614
481
  # A flag to enable magnetic store writes.
615
482
  # @return [Boolean]
@@ -636,15 +503,6 @@ module Aws::TimestreamWrite
636
503
  # can pass multiple data attributes associated with the same time series
637
504
  # in a single record
638
505
  #
639
- # @note When making an API call, you may pass MeasureValue
640
- # data as a hash:
641
- #
642
- # {
643
- # name: "SchemaName", # required
644
- # value: "StringValue2048", # required
645
- # type: "DOUBLE", # required, accepts DOUBLE, BIGINT, VARCHAR, BOOLEAN, TIMESTAMP, MULTI
646
- # }
647
- #
648
506
  # @!attribute [rw] name
649
507
  # Name of the MeasureValue.
650
508
  #
@@ -694,32 +552,6 @@ module Aws::TimestreamWrite
694
552
  # Timestream defaults to a `Version` of `1` for records without the
695
553
  # `Version` field.
696
554
  #
697
- # @note When making an API call, you may pass Record
698
- # data as a hash:
699
- #
700
- # {
701
- # dimensions: [
702
- # {
703
- # name: "SchemaName", # required
704
- # value: "SchemaValue", # required
705
- # dimension_value_type: "VARCHAR", # accepts VARCHAR
706
- # },
707
- # ],
708
- # measure_name: "SchemaName",
709
- # measure_value: "StringValue2048",
710
- # measure_value_type: "DOUBLE", # accepts DOUBLE, BIGINT, VARCHAR, BOOLEAN, TIMESTAMP, MULTI
711
- # time: "StringValue256",
712
- # time_unit: "MILLISECONDS", # accepts MILLISECONDS, SECONDS, MICROSECONDS, NANOSECONDS
713
- # version: 1,
714
- # measure_values: [
715
- # {
716
- # name: "SchemaName", # required
717
- # value: "StringValue2048", # required
718
- # type: "DOUBLE", # required, accepts DOUBLE, BIGINT, VARCHAR, BOOLEAN, TIMESTAMP, MULTI
719
- # },
720
- # ],
721
- # }
722
- #
723
555
  # @!attribute [rw] dimensions
724
556
  # Contains the list of dimensions for time series data points.
725
557
  # @return [Array<Types::Dimension>]
@@ -940,14 +772,6 @@ module Aws::TimestreamWrite
940
772
  # Retention properties contain the duration for which your time series
941
773
  # data must be stored in the magnetic store and the memory store.
942
774
  #
943
- # @note When making an API call, you may pass RetentionProperties
944
- # data as a hash:
945
- #
946
- # {
947
- # memory_store_retention_period_in_hours: 1, # required
948
- # magnetic_store_retention_period_in_days: 1, # required
949
- # }
950
- #
951
775
  # @!attribute [rw] memory_store_retention_period_in_hours
952
776
  # The duration for which data must be stored in the memory store.
953
777
  # @return [Integer]
@@ -967,16 +791,6 @@ module Aws::TimestreamWrite
967
791
 
968
792
  # Configuration specifing an S3 location.
969
793
  #
970
- # @note When making an API call, you may pass S3Configuration
971
- # data as a hash:
972
- #
973
- # {
974
- # bucket_name: "S3BucketName",
975
- # object_key_prefix: "S3ObjectKeyPrefix",
976
- # encryption_option: "SSE_S3", # accepts SSE_S3, SSE_KMS
977
- # kms_key_id: "StringValue2048",
978
- # }
979
- #
980
794
  # @!attribute [rw] bucket_name
981
795
  # &gt;Bucket name of the customer S3 bucket.
982
796
  # @return [String]
@@ -1080,14 +894,6 @@ module Aws::TimestreamWrite
1080
894
  # you define. Tags enable you to categorize databases and/or tables, for
1081
895
  # example, by purpose, owner, or environment.
1082
896
  #
1083
- # @note When making an API call, you may pass Tag
1084
- # data as a hash:
1085
- #
1086
- # {
1087
- # key: "TagKey", # required
1088
- # value: "TagValue", # required
1089
- # }
1090
- #
1091
897
  # @!attribute [rw] key
1092
898
  # The key of the tag. Tag keys are case sensitive.
1093
899
  # @return [String]
@@ -1105,19 +911,6 @@ module Aws::TimestreamWrite
1105
911
  include Aws::Structure
1106
912
  end
1107
913
 
1108
- # @note When making an API call, you may pass TagResourceRequest
1109
- # data as a hash:
1110
- #
1111
- # {
1112
- # resource_arn: "AmazonResourceName", # required
1113
- # tags: [ # required
1114
- # {
1115
- # key: "TagKey", # required
1116
- # value: "TagValue", # required
1117
- # },
1118
- # ],
1119
- # }
1120
- #
1121
914
  # @!attribute [rw] resource_arn
1122
915
  # Identifies the Timestream resource to which tags should be added.
1123
916
  # This value is an Amazon Resource Name (ARN).
@@ -1154,14 +947,6 @@ module Aws::TimestreamWrite
1154
947
  include Aws::Structure
1155
948
  end
1156
949
 
1157
- # @note When making an API call, you may pass UntagResourceRequest
1158
- # data as a hash:
1159
- #
1160
- # {
1161
- # resource_arn: "AmazonResourceName", # required
1162
- # tag_keys: ["TagKey"], # required
1163
- # }
1164
- #
1165
950
  # @!attribute [rw] resource_arn
1166
951
  # The Timestream resource that the tags will be removed from. This
1167
952
  # value is an Amazon Resource Name (ARN).
@@ -1185,14 +970,6 @@ module Aws::TimestreamWrite
1185
970
  #
1186
971
  class UntagResourceResponse < Aws::EmptyStructure; end
1187
972
 
1188
- # @note When making an API call, you may pass UpdateDatabaseRequest
1189
- # data as a hash:
1190
- #
1191
- # {
1192
- # database_name: "ResourceName", # required
1193
- # kms_key_id: "StringValue2048", # required
1194
- # }
1195
- #
1196
973
  # @!attribute [rw] database_name
1197
974
  # The name of the database.
1198
975
  # @return [String]
@@ -1238,29 +1015,6 @@ module Aws::TimestreamWrite
1238
1015
  include Aws::Structure
1239
1016
  end
1240
1017
 
1241
- # @note When making an API call, you may pass UpdateTableRequest
1242
- # data as a hash:
1243
- #
1244
- # {
1245
- # database_name: "ResourceName", # required
1246
- # table_name: "ResourceName", # required
1247
- # retention_properties: {
1248
- # memory_store_retention_period_in_hours: 1, # required
1249
- # magnetic_store_retention_period_in_days: 1, # required
1250
- # },
1251
- # magnetic_store_write_properties: {
1252
- # enable_magnetic_store_writes: false, # required
1253
- # magnetic_store_rejected_data_location: {
1254
- # s3_configuration: {
1255
- # bucket_name: "S3BucketName",
1256
- # object_key_prefix: "S3ObjectKeyPrefix",
1257
- # encryption_option: "SSE_S3", # accepts SSE_S3, SSE_KMS
1258
- # kms_key_id: "StringValue2048",
1259
- # },
1260
- # },
1261
- # },
1262
- # }
1263
- #
1264
1018
  # @!attribute [rw] database_name
1265
1019
  # The name of the Timestream database.
1266
1020
  # @return [String]
@@ -1314,60 +1068,6 @@ module Aws::TimestreamWrite
1314
1068
  include Aws::Structure
1315
1069
  end
1316
1070
 
1317
- # @note When making an API call, you may pass WriteRecordsRequest
1318
- # data as a hash:
1319
- #
1320
- # {
1321
- # database_name: "ResourceName", # required
1322
- # table_name: "ResourceName", # required
1323
- # common_attributes: {
1324
- # dimensions: [
1325
- # {
1326
- # name: "SchemaName", # required
1327
- # value: "SchemaValue", # required
1328
- # dimension_value_type: "VARCHAR", # accepts VARCHAR
1329
- # },
1330
- # ],
1331
- # measure_name: "SchemaName",
1332
- # measure_value: "StringValue2048",
1333
- # measure_value_type: "DOUBLE", # accepts DOUBLE, BIGINT, VARCHAR, BOOLEAN, TIMESTAMP, MULTI
1334
- # time: "StringValue256",
1335
- # time_unit: "MILLISECONDS", # accepts MILLISECONDS, SECONDS, MICROSECONDS, NANOSECONDS
1336
- # version: 1,
1337
- # measure_values: [
1338
- # {
1339
- # name: "SchemaName", # required
1340
- # value: "StringValue2048", # required
1341
- # type: "DOUBLE", # required, accepts DOUBLE, BIGINT, VARCHAR, BOOLEAN, TIMESTAMP, MULTI
1342
- # },
1343
- # ],
1344
- # },
1345
- # records: [ # required
1346
- # {
1347
- # dimensions: [
1348
- # {
1349
- # name: "SchemaName", # required
1350
- # value: "SchemaValue", # required
1351
- # dimension_value_type: "VARCHAR", # accepts VARCHAR
1352
- # },
1353
- # ],
1354
- # measure_name: "SchemaName",
1355
- # measure_value: "StringValue2048",
1356
- # measure_value_type: "DOUBLE", # accepts DOUBLE, BIGINT, VARCHAR, BOOLEAN, TIMESTAMP, MULTI
1357
- # time: "StringValue256",
1358
- # time_unit: "MILLISECONDS", # accepts MILLISECONDS, SECONDS, MICROSECONDS, NANOSECONDS
1359
- # version: 1,
1360
- # measure_values: [
1361
- # {
1362
- # name: "SchemaName", # required
1363
- # value: "StringValue2048", # required
1364
- # type: "DOUBLE", # required, accepts DOUBLE, BIGINT, VARCHAR, BOOLEAN, TIMESTAMP, MULTI
1365
- # },
1366
- # ],
1367
- # },
1368
- # ],
1369
- # }
1370
- #
1371
1071
  # @!attribute [rw] database_name
1372
1072
  # The name of the Timestream database.
1373
1073
  # @return [String]
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-timestreamwrite/customizations'
52
52
  # @!group service
53
53
  module Aws::TimestreamWrite
54
54
 
55
- GEM_VERSION = '1.15.0'
55
+ GEM_VERSION = '1.16.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-timestreamwrite
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.0
4
+ version: 1.16.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