aws-sdk-timestreamwrite 1.8.0 → 1.12.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -41,7 +41,7 @@ module Aws::TimestreamWrite
41
41
  # data as a hash:
42
42
  #
43
43
  # {
44
- # database_name: "ResourceName", # required
44
+ # database_name: "ResourceCreateAPIName", # required
45
45
  # kms_key_id: "StringValue2048",
46
46
  # tags: [
47
47
  # {
@@ -58,7 +58,8 @@ module Aws::TimestreamWrite
58
58
  # @!attribute [rw] kms_key_id
59
59
  # The KMS key for the database. If the KMS key is not specified, the
60
60
  # database will be encrypted with a Timestream managed KMS key located
61
- # in your account. Refer to [AWS managed KMS keys][1] for more info.
61
+ # in your account. Refer to [Amazon Web Services managed KMS keys][1]
62
+ # for more info.
62
63
  #
63
64
  #
64
65
  #
@@ -95,8 +96,8 @@ module Aws::TimestreamWrite
95
96
  # data as a hash:
96
97
  #
97
98
  # {
98
- # database_name: "ResourceName", # required
99
- # table_name: "ResourceName", # required
99
+ # database_name: "ResourceCreateAPIName", # required
100
+ # table_name: "ResourceCreateAPIName", # required
100
101
  # retention_properties: {
101
102
  # memory_store_retention_period_in_hours: 1, # required
102
103
  # magnetic_store_retention_period_in_days: 1, # required
@@ -107,6 +108,17 @@ module Aws::TimestreamWrite
107
108
  # value: "TagValue", # required
108
109
  # },
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
+ # },
110
122
  # }
111
123
  #
112
124
  # @!attribute [rw] database_name
@@ -126,13 +138,19 @@ module Aws::TimestreamWrite
126
138
  # A list of key-value pairs to label the table.
127
139
  # @return [Array<Types::Tag>]
128
140
  #
141
+ # @!attribute [rw] magnetic_store_write_properties
142
+ # Contains properties to set on the table when enabling magnetic store
143
+ # writes.
144
+ # @return [Types::MagneticStoreWriteProperties]
145
+ #
129
146
  # @see http://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/CreateTableRequest AWS API Documentation
130
147
  #
131
148
  class CreateTableRequest < Struct.new(
132
149
  :database_name,
133
150
  :table_name,
134
151
  :retention_properties,
135
- :tags)
152
+ :tags,
153
+ :magnetic_store_write_properties)
136
154
  SENSITIVE = []
137
155
  include Aws::Structure
138
156
  end
@@ -332,8 +350,8 @@ module Aws::TimestreamWrite
332
350
  # data as a hash:
333
351
  #
334
352
  # {
335
- # name: "StringValue256", # required
336
- # value: "StringValue2048", # required
353
+ # name: "SchemaName", # required
354
+ # value: "SchemaValue", # required
337
355
  # dimension_value_type: "VARCHAR", # accepts VARCHAR
338
356
  # }
339
357
  #
@@ -546,6 +564,117 @@ module Aws::TimestreamWrite
546
564
  include Aws::Structure
547
565
  end
548
566
 
567
+ # The location to write error reports for records rejected,
568
+ # asynchronously, during magnetic store writes.
569
+ #
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
+ # @!attribute [rw] s3_configuration
583
+ # Configuration of an S3 location to write error reports for records
584
+ # rejected, asynchronously, during magnetic store writes.
585
+ # @return [Types::S3Configuration]
586
+ #
587
+ # @see http://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/MagneticStoreRejectedDataLocation AWS API Documentation
588
+ #
589
+ class MagneticStoreRejectedDataLocation < Struct.new(
590
+ :s3_configuration)
591
+ SENSITIVE = []
592
+ include Aws::Structure
593
+ end
594
+
595
+ # The set of properties on a table for configuring magnetic store
596
+ # writes.
597
+ #
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
+ # @!attribute [rw] enable_magnetic_store_writes
614
+ # A flag to enable magnetic store writes.
615
+ # @return [Boolean]
616
+ #
617
+ # @!attribute [rw] magnetic_store_rejected_data_location
618
+ # The location to write error reports for records rejected
619
+ # asynchronously during magnetic store writes.
620
+ # @return [Types::MagneticStoreRejectedDataLocation]
621
+ #
622
+ # @see http://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/MagneticStoreWriteProperties AWS API Documentation
623
+ #
624
+ class MagneticStoreWriteProperties < Struct.new(
625
+ :enable_magnetic_store_writes,
626
+ :magnetic_store_rejected_data_location)
627
+ SENSITIVE = []
628
+ include Aws::Structure
629
+ end
630
+
631
+ # MeasureValue represents the data attribute of the time series. For
632
+ # example, the CPU utilization of an EC2 instance or the RPM of a wind
633
+ # turbine are measures. MeasureValue has both name and value.
634
+ #
635
+ # MeasureValue is only allowed for type `MULTI`. Using `MULTI` type, you
636
+ # can pass multiple data attributes associated with the same time series
637
+ # in a single record
638
+ #
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
+ # @!attribute [rw] name
649
+ # Name of the MeasureValue.
650
+ #
651
+ # For constraints on MeasureValue names, refer to [ Naming
652
+ # Constraints][1] in the Timestream developer guide.
653
+ #
654
+ #
655
+ #
656
+ # [1]: https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html#limits.naming
657
+ # @return [String]
658
+ #
659
+ # @!attribute [rw] value
660
+ # Value for the MeasureValue.
661
+ # @return [String]
662
+ #
663
+ # @!attribute [rw] type
664
+ # Contains the data type of the MeasureValue for the time series data
665
+ # point.
666
+ # @return [String]
667
+ #
668
+ # @see http://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/MeasureValue AWS API Documentation
669
+ #
670
+ class MeasureValue < Struct.new(
671
+ :name,
672
+ :value,
673
+ :type)
674
+ SENSITIVE = []
675
+ include Aws::Structure
676
+ end
677
+
549
678
  # Record represents a time series data point being written into
550
679
  # Timestream. Each record contains an array of dimensions. Dimensions
551
680
  # represent the meta data attributes of a time series data point such as
@@ -557,23 +686,38 @@ module Aws::TimestreamWrite
557
686
  # timestamp when the measure was collected that the timestamp unit which
558
687
  # represents the granularity of the timestamp.
559
688
  #
689
+ # Records have a `Version` field, which is a 64-bit `long` that you can
690
+ # use for updating data points. Writes of a duplicate record with the
691
+ # same dimension, timestamp, and measure name but different measure
692
+ # value will only succeed if the `Version` attribute of the record in
693
+ # the write request is higher than that of the existing record.
694
+ # Timestream defaults to a `Version` of `1` for records without the
695
+ # `Version` field.
696
+ #
560
697
  # @note When making an API call, you may pass Record
561
698
  # data as a hash:
562
699
  #
563
700
  # {
564
701
  # dimensions: [
565
702
  # {
566
- # name: "StringValue256", # required
567
- # value: "StringValue2048", # required
703
+ # name: "SchemaName", # required
704
+ # value: "SchemaValue", # required
568
705
  # dimension_value_type: "VARCHAR", # accepts VARCHAR
569
706
  # },
570
707
  # ],
571
- # measure_name: "StringValue256",
708
+ # measure_name: "SchemaName",
572
709
  # measure_value: "StringValue2048",
573
- # measure_value_type: "DOUBLE", # accepts DOUBLE, BIGINT, VARCHAR, BOOLEAN
710
+ # measure_value_type: "DOUBLE", # accepts DOUBLE, BIGINT, VARCHAR, BOOLEAN, TIMESTAMP, MULTI
574
711
  # time: "StringValue256",
575
712
  # time_unit: "MILLISECONDS", # accepts MILLISECONDS, SECONDS, MICROSECONDS, NANOSECONDS
576
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
+ # ],
577
721
  # }
578
722
  #
579
723
  # @!attribute [rw] dimensions
@@ -592,7 +736,7 @@ module Aws::TimestreamWrite
592
736
  #
593
737
  # @!attribute [rw] measure_value_type
594
738
  # Contains the data type of the measure value for the time series data
595
- # point.
739
+ # point. Default type is `DOUBLE`.
596
740
  # @return [String]
597
741
  #
598
742
  # @!attribute [rw] time
@@ -605,16 +749,28 @@ module Aws::TimestreamWrite
605
749
  # @!attribute [rw] time_unit
606
750
  # The granularity of the timestamp unit. It indicates if the time
607
751
  # value is in seconds, milliseconds, nanoseconds or other supported
608
- # values.
752
+ # values. Default is `MILLISECONDS`.
609
753
  # @return [String]
610
754
  #
611
755
  # @!attribute [rw] version
612
756
  # 64-bit attribute used for record updates. Write requests for
613
757
  # duplicate data with a higher version number will update the existing
614
758
  # measure value and version. In cases where the measure value is the
615
- # same, `Version` will still be updated . Default value is to 1.
759
+ # same, `Version` will still be updated . Default value is `1`.
760
+ #
761
+ # <note markdown="1"> `Version` must be `1` or greater, or you will receive a
762
+ # `ValidationException` error.
763
+ #
764
+ # </note>
616
765
  # @return [Integer]
617
766
  #
767
+ # @!attribute [rw] measure_values
768
+ # Contains the list of MeasureValue for time series data points.
769
+ #
770
+ # This is only allowed for type `MULTI`. For scalar values, use
771
+ # `MeasureValue` attribute of the Record directly.
772
+ # @return [Array<Types::MeasureValue>]
773
+ #
618
774
  # @see http://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/Record AWS API Documentation
619
775
  #
620
776
  class Record < Struct.new(
@@ -624,7 +780,32 @@ module Aws::TimestreamWrite
624
780
  :measure_value_type,
625
781
  :time,
626
782
  :time_unit,
627
- :version)
783
+ :version,
784
+ :measure_values)
785
+ SENSITIVE = []
786
+ include Aws::Structure
787
+ end
788
+
789
+ # Information on the records ingested by this request.
790
+ #
791
+ # @!attribute [rw] total
792
+ # Total count of successfully ingested records.
793
+ # @return [Integer]
794
+ #
795
+ # @!attribute [rw] memory_store
796
+ # Count of records ingested into the memory store.
797
+ # @return [Integer]
798
+ #
799
+ # @!attribute [rw] magnetic_store
800
+ # Count of records ingested into the magnetic store.
801
+ # @return [Integer]
802
+ #
803
+ # @see http://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/RecordsIngested AWS API Documentation
804
+ #
805
+ class RecordsIngested < Struct.new(
806
+ :total,
807
+ :memory_store,
808
+ :magnetic_store)
628
809
  SENSITIVE = []
629
810
  include Aws::Structure
630
811
  end
@@ -643,8 +824,18 @@ module Aws::TimestreamWrite
643
824
  # Timestream. Possible causes of failure include:
644
825
  #
645
826
  # * Records with duplicate data where there are multiple records with
646
- # the same dimensions, timestamps, and measure names but different
647
- # measure values.
827
+ # the same dimensions, timestamps, and measure names but:
828
+ #
829
+ # * Measure values are different
830
+ #
831
+ # * Version is not present in the request *or* the value of version
832
+ # in the new record is equal to or lower than the existing value
833
+ #
834
+ # If Timestream rejects data for this case, the `ExistingVersion`
835
+ # field in the `RejectedRecords` response will indicate the current
836
+ # record’s version. To force an update, you can resend the request
837
+ # with a version for the record set to a value greater than the
838
+ # `ExistingVersion`.
648
839
  #
649
840
  # * Records with timestamps that lie outside the retention duration of
650
841
  # the memory store
@@ -691,8 +882,18 @@ module Aws::TimestreamWrite
691
882
  # WriteRecords would throw this exception in the following cases:
692
883
  #
693
884
  # * Records with duplicate data where there are multiple records with
694
- # the same dimensions, timestamps, and measure names but different
695
- # measure values.
885
+ # the same dimensions, timestamps, and measure names but:
886
+ #
887
+ # * Measure values are different
888
+ #
889
+ # * Version is not present in the request *or* the value of version in
890
+ # the new record is equal to or lower than the existing value
891
+ #
892
+ # In this case, if Timestream rejects data, the `ExistingVersion`
893
+ # field in the `RejectedRecords` response will indicate the current
894
+ # record’s version. To force an update, you can resend the request
895
+ # with a version for the record set to a value greater than the
896
+ # `ExistingVersion`.
696
897
  #
697
898
  # * Records with timestamps that lie outside the retention duration of
698
899
  # the memory store
@@ -700,8 +901,8 @@ module Aws::TimestreamWrite
700
901
  # * Records with dimensions or measures that exceed the Timestream
701
902
  # defined limits.
702
903
  #
703
- # For more information, see [Access Management][1] in the Timestream
704
- # Developer Guide.
904
+ # For more information, see [Quotas][1] in the Timestream Developer
905
+ # Guide.
705
906
  #
706
907
  #
707
908
  #
@@ -764,6 +965,47 @@ module Aws::TimestreamWrite
764
965
  include Aws::Structure
765
966
  end
766
967
 
968
+ # Configuration specifing an S3 location.
969
+ #
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
+ # @!attribute [rw] bucket_name
981
+ # &gt;Bucket name of the customer S3 bucket.
982
+ # @return [String]
983
+ #
984
+ # @!attribute [rw] object_key_prefix
985
+ # Object key preview for the customer S3 location.
986
+ # @return [String]
987
+ #
988
+ # @!attribute [rw] encryption_option
989
+ # Encryption option for the customer s3 location. Options are S3
990
+ # server side encryption with an S3-managed key or KMS managed key.
991
+ # @return [String]
992
+ #
993
+ # @!attribute [rw] kms_key_id
994
+ # KMS key id for the customer s3 location when encrypting with a KMS
995
+ # managed key.
996
+ # @return [String]
997
+ #
998
+ # @see http://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/S3Configuration AWS API Documentation
999
+ #
1000
+ class S3Configuration < Struct.new(
1001
+ :bucket_name,
1002
+ :object_key_prefix,
1003
+ :encryption_option,
1004
+ :kms_key_id)
1005
+ SENSITIVE = []
1006
+ include Aws::Structure
1007
+ end
1008
+
767
1009
  # Instance quota of resource exceeded for this account.
768
1010
  #
769
1011
  # @!attribute [rw] message
@@ -813,6 +1055,11 @@ module Aws::TimestreamWrite
813
1055
  # The time when the Timestream table was last updated.
814
1056
  # @return [Time]
815
1057
  #
1058
+ # @!attribute [rw] magnetic_store_write_properties
1059
+ # Contains properties to set on the table when enabling magnetic store
1060
+ # writes.
1061
+ # @return [Types::MagneticStoreWriteProperties]
1062
+ #
816
1063
  # @see http://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/Table AWS API Documentation
817
1064
  #
818
1065
  class Table < Struct.new(
@@ -822,7 +1069,8 @@ module Aws::TimestreamWrite
822
1069
  :table_status,
823
1070
  :retention_properties,
824
1071
  :creation_time,
825
- :last_updated_time)
1072
+ :last_updated_time,
1073
+ :magnetic_store_write_properties)
826
1074
  SENSITIVE = []
827
1075
  include Aws::Structure
828
1076
  end
@@ -996,10 +1244,21 @@ module Aws::TimestreamWrite
996
1244
  # {
997
1245
  # database_name: "ResourceName", # required
998
1246
  # table_name: "ResourceName", # required
999
- # retention_properties: { # required
1247
+ # retention_properties: {
1000
1248
  # memory_store_retention_period_in_hours: 1, # required
1001
1249
  # magnetic_store_retention_period_in_days: 1, # required
1002
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
+ # },
1003
1262
  # }
1004
1263
  #
1005
1264
  # @!attribute [rw] database_name
@@ -1007,19 +1266,25 @@ module Aws::TimestreamWrite
1007
1266
  # @return [String]
1008
1267
  #
1009
1268
  # @!attribute [rw] table_name
1010
- # The name of the Timesream table.
1269
+ # The name of the Timestream table.
1011
1270
  # @return [String]
1012
1271
  #
1013
1272
  # @!attribute [rw] retention_properties
1014
1273
  # The retention duration of the memory store and the magnetic store.
1015
1274
  # @return [Types::RetentionProperties]
1016
1275
  #
1276
+ # @!attribute [rw] magnetic_store_write_properties
1277
+ # Contains properties to set on the table when enabling magnetic store
1278
+ # writes.
1279
+ # @return [Types::MagneticStoreWriteProperties]
1280
+ #
1017
1281
  # @see http://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/UpdateTableRequest AWS API Documentation
1018
1282
  #
1019
1283
  class UpdateTableRequest < Struct.new(
1020
1284
  :database_name,
1021
1285
  :table_name,
1022
- :retention_properties)
1286
+ :retention_properties,
1287
+ :magnetic_store_write_properties)
1023
1288
  SENSITIVE = []
1024
1289
  include Aws::Structure
1025
1290
  end
@@ -1058,33 +1323,47 @@ module Aws::TimestreamWrite
1058
1323
  # common_attributes: {
1059
1324
  # dimensions: [
1060
1325
  # {
1061
- # name: "StringValue256", # required
1062
- # value: "StringValue2048", # required
1326
+ # name: "SchemaName", # required
1327
+ # value: "SchemaValue", # required
1063
1328
  # dimension_value_type: "VARCHAR", # accepts VARCHAR
1064
1329
  # },
1065
1330
  # ],
1066
- # measure_name: "StringValue256",
1331
+ # measure_name: "SchemaName",
1067
1332
  # measure_value: "StringValue2048",
1068
- # measure_value_type: "DOUBLE", # accepts DOUBLE, BIGINT, VARCHAR, BOOLEAN
1333
+ # measure_value_type: "DOUBLE", # accepts DOUBLE, BIGINT, VARCHAR, BOOLEAN, TIMESTAMP, MULTI
1069
1334
  # time: "StringValue256",
1070
1335
  # time_unit: "MILLISECONDS", # accepts MILLISECONDS, SECONDS, MICROSECONDS, NANOSECONDS
1071
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
+ # ],
1072
1344
  # },
1073
1345
  # records: [ # required
1074
1346
  # {
1075
1347
  # dimensions: [
1076
1348
  # {
1077
- # name: "StringValue256", # required
1078
- # value: "StringValue2048", # required
1349
+ # name: "SchemaName", # required
1350
+ # value: "SchemaValue", # required
1079
1351
  # dimension_value_type: "VARCHAR", # accepts VARCHAR
1080
1352
  # },
1081
1353
  # ],
1082
- # measure_name: "StringValue256",
1354
+ # measure_name: "SchemaName",
1083
1355
  # measure_value: "StringValue2048",
1084
- # measure_value_type: "DOUBLE", # accepts DOUBLE, BIGINT, VARCHAR, BOOLEAN
1356
+ # measure_value_type: "DOUBLE", # accepts DOUBLE, BIGINT, VARCHAR, BOOLEAN, TIMESTAMP, MULTI
1085
1357
  # time: "StringValue256",
1086
1358
  # time_unit: "MILLISECONDS", # accepts MILLISECONDS, SECONDS, MICROSECONDS, NANOSECONDS
1087
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
+ # ],
1088
1367
  # },
1089
1368
  # ],
1090
1369
  # }
@@ -1094,20 +1373,22 @@ module Aws::TimestreamWrite
1094
1373
  # @return [String]
1095
1374
  #
1096
1375
  # @!attribute [rw] table_name
1097
- # The name of the Timesream table.
1376
+ # The name of the Timestream table.
1098
1377
  # @return [String]
1099
1378
  #
1100
1379
  # @!attribute [rw] common_attributes
1101
- # A record containing the common measure and dimension attributes
1102
- # shared across all the records in the request. The measure and
1103
- # dimension attributes specified in here will be merged with the
1104
- # measure and dimension attributes in the records object when the data
1105
- # is written into Timestream.
1380
+ # A record containing the common measure, dimension, time, and version
1381
+ # attributes shared across all the records in the request. The measure
1382
+ # and dimension attributes specified will be merged with the measure
1383
+ # and dimension attributes in the records object when the data is
1384
+ # written into Timestream. Dimensions may not overlap, or a
1385
+ # `ValidationException` will be thrown. In other words, a record must
1386
+ # contain dimensions with unique names.
1106
1387
  # @return [Types::Record]
1107
1388
  #
1108
1389
  # @!attribute [rw] records
1109
- # An array of records containing the unique dimension and measure
1110
- # attributes for each time series data point.
1390
+ # An array of records containing the unique measure, dimension, time,
1391
+ # and version attributes for each time series data point.
1111
1392
  # @return [Array<Types::Record>]
1112
1393
  #
1113
1394
  # @see http://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/WriteRecordsRequest AWS API Documentation
@@ -1121,5 +1402,17 @@ module Aws::TimestreamWrite
1121
1402
  include Aws::Structure
1122
1403
  end
1123
1404
 
1405
+ # @!attribute [rw] records_ingested
1406
+ # Information on the records ingested by this request.
1407
+ # @return [Types::RecordsIngested]
1408
+ #
1409
+ # @see http://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/WriteRecordsResponse AWS API Documentation
1410
+ #
1411
+ class WriteRecordsResponse < Struct.new(
1412
+ :records_ingested)
1413
+ SENSITIVE = []
1414
+ include Aws::Structure
1415
+ end
1416
+
1124
1417
  end
1125
1418
  end
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-timestreamwrite/customizations'
48
48
  # @!group service
49
49
  module Aws::TimestreamWrite
50
50
 
51
- GEM_VERSION = '1.8.0'
51
+ GEM_VERSION = '1.12.0'
52
52
 
53
53
  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.8.0
4
+ version: 1.12.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: 2021-10-18 00:00:00.000000000 Z
11
+ date: 2021-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.121.2
22
+ version: 3.125.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.121.2
32
+ version: 3.125.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement