aws-sdk-timestreamwrite 1.16.0 → 1.17.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.
@@ -15,17 +15,35 @@ module Aws::TimestreamWrite
15
15
 
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
17
  AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
18
+ BatchLoadDataFormat = Shapes::StringShape.new(name: 'BatchLoadDataFormat')
19
+ BatchLoadProgressReport = Shapes::StructureShape.new(name: 'BatchLoadProgressReport')
20
+ BatchLoadStatus = Shapes::StringShape.new(name: 'BatchLoadStatus')
21
+ BatchLoadTask = Shapes::StructureShape.new(name: 'BatchLoadTask')
22
+ BatchLoadTaskDescription = Shapes::StructureShape.new(name: 'BatchLoadTaskDescription')
23
+ BatchLoadTaskId = Shapes::StringShape.new(name: 'BatchLoadTaskId')
24
+ BatchLoadTaskList = Shapes::ListShape.new(name: 'BatchLoadTaskList')
18
25
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
26
+ ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
19
27
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
28
+ CreateBatchLoadTaskRequest = Shapes::StructureShape.new(name: 'CreateBatchLoadTaskRequest')
29
+ CreateBatchLoadTaskResponse = Shapes::StructureShape.new(name: 'CreateBatchLoadTaskResponse')
20
30
  CreateDatabaseRequest = Shapes::StructureShape.new(name: 'CreateDatabaseRequest')
21
31
  CreateDatabaseResponse = Shapes::StructureShape.new(name: 'CreateDatabaseResponse')
22
32
  CreateTableRequest = Shapes::StructureShape.new(name: 'CreateTableRequest')
23
33
  CreateTableResponse = Shapes::StructureShape.new(name: 'CreateTableResponse')
34
+ CsvConfiguration = Shapes::StructureShape.new(name: 'CsvConfiguration')
35
+ DataModel = Shapes::StructureShape.new(name: 'DataModel')
36
+ DataModelConfiguration = Shapes::StructureShape.new(name: 'DataModelConfiguration')
37
+ DataModelS3Configuration = Shapes::StructureShape.new(name: 'DataModelS3Configuration')
38
+ DataSourceConfiguration = Shapes::StructureShape.new(name: 'DataSourceConfiguration')
39
+ DataSourceS3Configuration = Shapes::StructureShape.new(name: 'DataSourceS3Configuration')
24
40
  Database = Shapes::StructureShape.new(name: 'Database')
25
41
  DatabaseList = Shapes::ListShape.new(name: 'DatabaseList')
26
42
  Date = Shapes::TimestampShape.new(name: 'Date')
27
43
  DeleteDatabaseRequest = Shapes::StructureShape.new(name: 'DeleteDatabaseRequest')
28
44
  DeleteTableRequest = Shapes::StructureShape.new(name: 'DeleteTableRequest')
45
+ DescribeBatchLoadTaskRequest = Shapes::StructureShape.new(name: 'DescribeBatchLoadTaskRequest')
46
+ DescribeBatchLoadTaskResponse = Shapes::StructureShape.new(name: 'DescribeBatchLoadTaskResponse')
29
47
  DescribeDatabaseRequest = Shapes::StructureShape.new(name: 'DescribeDatabaseRequest')
30
48
  DescribeDatabaseResponse = Shapes::StructureShape.new(name: 'DescribeDatabaseResponse')
31
49
  DescribeEndpointsRequest = Shapes::StructureShape.new(name: 'DescribeEndpointsRequest')
@@ -33,6 +51,8 @@ module Aws::TimestreamWrite
33
51
  DescribeTableRequest = Shapes::StructureShape.new(name: 'DescribeTableRequest')
34
52
  DescribeTableResponse = Shapes::StructureShape.new(name: 'DescribeTableResponse')
35
53
  Dimension = Shapes::StructureShape.new(name: 'Dimension')
54
+ DimensionMapping = Shapes::StructureShape.new(name: 'DimensionMapping')
55
+ DimensionMappings = Shapes::ListShape.new(name: 'DimensionMappings')
36
56
  DimensionValueType = Shapes::StringShape.new(name: 'DimensionValueType')
37
57
  Dimensions = Shapes::ListShape.new(name: 'Dimensions')
38
58
  Endpoint = Shapes::StructureShape.new(name: 'Endpoint')
@@ -41,6 +61,8 @@ module Aws::TimestreamWrite
41
61
  Integer = Shapes::IntegerShape.new(name: 'Integer')
42
62
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
43
63
  InvalidEndpointException = Shapes::StructureShape.new(name: 'InvalidEndpointException')
64
+ ListBatchLoadTasksRequest = Shapes::StructureShape.new(name: 'ListBatchLoadTasksRequest')
65
+ ListBatchLoadTasksResponse = Shapes::StructureShape.new(name: 'ListBatchLoadTasksResponse')
44
66
  ListDatabasesRequest = Shapes::StructureShape.new(name: 'ListDatabasesRequest')
45
67
  ListDatabasesResponse = Shapes::StructureShape.new(name: 'ListDatabasesResponse')
46
68
  ListTablesRequest = Shapes::StructureShape.new(name: 'ListTablesRequest')
@@ -55,6 +77,12 @@ module Aws::TimestreamWrite
55
77
  MeasureValueType = Shapes::StringShape.new(name: 'MeasureValueType')
56
78
  MeasureValues = Shapes::ListShape.new(name: 'MeasureValues')
57
79
  MemoryStoreRetentionPeriodInHours = Shapes::IntegerShape.new(name: 'MemoryStoreRetentionPeriodInHours')
80
+ MixedMeasureMapping = Shapes::StructureShape.new(name: 'MixedMeasureMapping')
81
+ MixedMeasureMappingList = Shapes::ListShape.new(name: 'MixedMeasureMappingList')
82
+ MultiMeasureAttributeMapping = Shapes::StructureShape.new(name: 'MultiMeasureAttributeMapping')
83
+ MultiMeasureAttributeMappingList = Shapes::ListShape.new(name: 'MultiMeasureAttributeMappingList')
84
+ MultiMeasureMappings = Shapes::StructureShape.new(name: 'MultiMeasureMappings')
85
+ PageLimit = Shapes::IntegerShape.new(name: 'PageLimit')
58
86
  PaginationLimit = Shapes::IntegerShape.new(name: 'PaginationLimit')
59
87
  Record = Shapes::StructureShape.new(name: 'Record')
60
88
  RecordIndex = Shapes::IntegerShape.new(name: 'RecordIndex')
@@ -64,18 +92,25 @@ module Aws::TimestreamWrite
64
92
  RejectedRecord = Shapes::StructureShape.new(name: 'RejectedRecord')
65
93
  RejectedRecords = Shapes::ListShape.new(name: 'RejectedRecords')
66
94
  RejectedRecordsException = Shapes::StructureShape.new(name: 'RejectedRecordsException')
95
+ ReportConfiguration = Shapes::StructureShape.new(name: 'ReportConfiguration')
96
+ ReportS3Configuration = Shapes::StructureShape.new(name: 'ReportS3Configuration')
67
97
  ResourceCreateAPIName = Shapes::StringShape.new(name: 'ResourceCreateAPIName')
68
98
  ResourceName = Shapes::StringShape.new(name: 'ResourceName')
69
99
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
100
+ ResumeBatchLoadTaskRequest = Shapes::StructureShape.new(name: 'ResumeBatchLoadTaskRequest')
101
+ ResumeBatchLoadTaskResponse = Shapes::StructureShape.new(name: 'ResumeBatchLoadTaskResponse')
70
102
  RetentionProperties = Shapes::StructureShape.new(name: 'RetentionProperties')
71
103
  S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
72
104
  S3Configuration = Shapes::StructureShape.new(name: 'S3Configuration')
73
105
  S3EncryptionOption = Shapes::StringShape.new(name: 'S3EncryptionOption')
106
+ S3ObjectKey = Shapes::StringShape.new(name: 'S3ObjectKey')
74
107
  S3ObjectKeyPrefix = Shapes::StringShape.new(name: 'S3ObjectKeyPrefix')
108
+ ScalarMeasureValueType = Shapes::StringShape.new(name: 'ScalarMeasureValueType')
75
109
  SchemaName = Shapes::StringShape.new(name: 'SchemaName')
76
110
  SchemaValue = Shapes::StringShape.new(name: 'SchemaValue')
77
111
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
78
112
  String = Shapes::StringShape.new(name: 'String')
113
+ StringValue1 = Shapes::StringShape.new(name: 'StringValue1')
79
114
  StringValue2048 = Shapes::StringShape.new(name: 'StringValue2048')
80
115
  StringValue256 = Shapes::StringShape.new(name: 'StringValue256')
81
116
  Table = Shapes::StructureShape.new(name: 'Table')
@@ -103,9 +138,55 @@ module Aws::TimestreamWrite
103
138
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "Message"))
104
139
  AccessDeniedException.struct_class = Types::AccessDeniedException
105
140
 
141
+ BatchLoadProgressReport.add_member(:records_processed, Shapes::ShapeRef.new(shape: Long, location_name: "RecordsProcessed"))
142
+ BatchLoadProgressReport.add_member(:records_ingested, Shapes::ShapeRef.new(shape: Long, location_name: "RecordsIngested"))
143
+ BatchLoadProgressReport.add_member(:parse_failures, Shapes::ShapeRef.new(shape: Long, location_name: "ParseFailures"))
144
+ BatchLoadProgressReport.add_member(:record_ingestion_failures, Shapes::ShapeRef.new(shape: Long, location_name: "RecordIngestionFailures"))
145
+ BatchLoadProgressReport.add_member(:file_failures, Shapes::ShapeRef.new(shape: Long, location_name: "FileFailures"))
146
+ BatchLoadProgressReport.add_member(:bytes_metered, Shapes::ShapeRef.new(shape: Long, location_name: "BytesMetered"))
147
+ BatchLoadProgressReport.struct_class = Types::BatchLoadProgressReport
148
+
149
+ BatchLoadTask.add_member(:task_id, Shapes::ShapeRef.new(shape: BatchLoadTaskId, location_name: "TaskId"))
150
+ BatchLoadTask.add_member(:task_status, Shapes::ShapeRef.new(shape: BatchLoadStatus, location_name: "TaskStatus"))
151
+ BatchLoadTask.add_member(:database_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "DatabaseName"))
152
+ BatchLoadTask.add_member(:table_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "TableName"))
153
+ BatchLoadTask.add_member(:creation_time, Shapes::ShapeRef.new(shape: Date, location_name: "CreationTime"))
154
+ BatchLoadTask.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Date, location_name: "LastUpdatedTime"))
155
+ BatchLoadTask.add_member(:resumable_until, Shapes::ShapeRef.new(shape: Date, location_name: "ResumableUntil"))
156
+ BatchLoadTask.struct_class = Types::BatchLoadTask
157
+
158
+ BatchLoadTaskDescription.add_member(:task_id, Shapes::ShapeRef.new(shape: BatchLoadTaskId, location_name: "TaskId"))
159
+ BatchLoadTaskDescription.add_member(:error_message, Shapes::ShapeRef.new(shape: StringValue2048, location_name: "ErrorMessage"))
160
+ BatchLoadTaskDescription.add_member(:data_source_configuration, Shapes::ShapeRef.new(shape: DataSourceConfiguration, location_name: "DataSourceConfiguration"))
161
+ BatchLoadTaskDescription.add_member(:progress_report, Shapes::ShapeRef.new(shape: BatchLoadProgressReport, location_name: "ProgressReport"))
162
+ BatchLoadTaskDescription.add_member(:report_configuration, Shapes::ShapeRef.new(shape: ReportConfiguration, location_name: "ReportConfiguration"))
163
+ BatchLoadTaskDescription.add_member(:data_model_configuration, Shapes::ShapeRef.new(shape: DataModelConfiguration, location_name: "DataModelConfiguration"))
164
+ BatchLoadTaskDescription.add_member(:target_database_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "TargetDatabaseName"))
165
+ BatchLoadTaskDescription.add_member(:target_table_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "TargetTableName"))
166
+ BatchLoadTaskDescription.add_member(:task_status, Shapes::ShapeRef.new(shape: BatchLoadStatus, location_name: "TaskStatus"))
167
+ BatchLoadTaskDescription.add_member(:record_version, Shapes::ShapeRef.new(shape: RecordVersion, location_name: "RecordVersion"))
168
+ BatchLoadTaskDescription.add_member(:creation_time, Shapes::ShapeRef.new(shape: Date, location_name: "CreationTime"))
169
+ BatchLoadTaskDescription.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Date, location_name: "LastUpdatedTime"))
170
+ BatchLoadTaskDescription.add_member(:resumable_until, Shapes::ShapeRef.new(shape: Date, location_name: "ResumableUntil"))
171
+ BatchLoadTaskDescription.struct_class = Types::BatchLoadTaskDescription
172
+
173
+ BatchLoadTaskList.member = Shapes::ShapeRef.new(shape: BatchLoadTask)
174
+
106
175
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "Message"))
107
176
  ConflictException.struct_class = Types::ConflictException
108
177
 
178
+ CreateBatchLoadTaskRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
179
+ CreateBatchLoadTaskRequest.add_member(:data_model_configuration, Shapes::ShapeRef.new(shape: DataModelConfiguration, location_name: "DataModelConfiguration"))
180
+ CreateBatchLoadTaskRequest.add_member(:data_source_configuration, Shapes::ShapeRef.new(shape: DataSourceConfiguration, required: true, location_name: "DataSourceConfiguration"))
181
+ CreateBatchLoadTaskRequest.add_member(:report_configuration, Shapes::ShapeRef.new(shape: ReportConfiguration, required: true, location_name: "ReportConfiguration"))
182
+ CreateBatchLoadTaskRequest.add_member(:target_database_name, Shapes::ShapeRef.new(shape: ResourceCreateAPIName, required: true, location_name: "TargetDatabaseName"))
183
+ CreateBatchLoadTaskRequest.add_member(:target_table_name, Shapes::ShapeRef.new(shape: ResourceCreateAPIName, required: true, location_name: "TargetTableName"))
184
+ CreateBatchLoadTaskRequest.add_member(:record_version, Shapes::ShapeRef.new(shape: RecordVersion, location_name: "RecordVersion", metadata: {"box"=>true}))
185
+ CreateBatchLoadTaskRequest.struct_class = Types::CreateBatchLoadTaskRequest
186
+
187
+ CreateBatchLoadTaskResponse.add_member(:task_id, Shapes::ShapeRef.new(shape: BatchLoadTaskId, required: true, location_name: "TaskId"))
188
+ CreateBatchLoadTaskResponse.struct_class = Types::CreateBatchLoadTaskResponse
189
+
109
190
  CreateDatabaseRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: ResourceCreateAPIName, required: true, location_name: "DatabaseName"))
110
191
  CreateDatabaseRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: StringValue2048, location_name: "KmsKeyId"))
111
192
  CreateDatabaseRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
@@ -124,6 +205,38 @@ module Aws::TimestreamWrite
124
205
  CreateTableResponse.add_member(:table, Shapes::ShapeRef.new(shape: Table, location_name: "Table"))
125
206
  CreateTableResponse.struct_class = Types::CreateTableResponse
126
207
 
208
+ CsvConfiguration.add_member(:column_separator, Shapes::ShapeRef.new(shape: StringValue1, location_name: "ColumnSeparator"))
209
+ CsvConfiguration.add_member(:escape_char, Shapes::ShapeRef.new(shape: StringValue1, location_name: "EscapeChar"))
210
+ CsvConfiguration.add_member(:quote_char, Shapes::ShapeRef.new(shape: StringValue1, location_name: "QuoteChar"))
211
+ CsvConfiguration.add_member(:null_value, Shapes::ShapeRef.new(shape: StringValue256, location_name: "NullValue"))
212
+ CsvConfiguration.add_member(:trim_white_space, Shapes::ShapeRef.new(shape: Boolean, location_name: "TrimWhiteSpace"))
213
+ CsvConfiguration.struct_class = Types::CsvConfiguration
214
+
215
+ DataModel.add_member(:time_column, Shapes::ShapeRef.new(shape: StringValue256, location_name: "TimeColumn"))
216
+ DataModel.add_member(:time_unit, Shapes::ShapeRef.new(shape: TimeUnit, location_name: "TimeUnit"))
217
+ DataModel.add_member(:dimension_mappings, Shapes::ShapeRef.new(shape: DimensionMappings, required: true, location_name: "DimensionMappings"))
218
+ DataModel.add_member(:multi_measure_mappings, Shapes::ShapeRef.new(shape: MultiMeasureMappings, location_name: "MultiMeasureMappings"))
219
+ DataModel.add_member(:mixed_measure_mappings, Shapes::ShapeRef.new(shape: MixedMeasureMappingList, location_name: "MixedMeasureMappings"))
220
+ DataModel.add_member(:measure_name_column, Shapes::ShapeRef.new(shape: StringValue256, location_name: "MeasureNameColumn"))
221
+ DataModel.struct_class = Types::DataModel
222
+
223
+ DataModelConfiguration.add_member(:data_model, Shapes::ShapeRef.new(shape: DataModel, location_name: "DataModel"))
224
+ DataModelConfiguration.add_member(:data_model_s3_configuration, Shapes::ShapeRef.new(shape: DataModelS3Configuration, location_name: "DataModelS3Configuration"))
225
+ DataModelConfiguration.struct_class = Types::DataModelConfiguration
226
+
227
+ DataModelS3Configuration.add_member(:bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, location_name: "BucketName"))
228
+ DataModelS3Configuration.add_member(:object_key, Shapes::ShapeRef.new(shape: S3ObjectKey, location_name: "ObjectKey"))
229
+ DataModelS3Configuration.struct_class = Types::DataModelS3Configuration
230
+
231
+ DataSourceConfiguration.add_member(:data_source_s3_configuration, Shapes::ShapeRef.new(shape: DataSourceS3Configuration, required: true, location_name: "DataSourceS3Configuration"))
232
+ DataSourceConfiguration.add_member(:csv_configuration, Shapes::ShapeRef.new(shape: CsvConfiguration, location_name: "CsvConfiguration"))
233
+ DataSourceConfiguration.add_member(:data_format, Shapes::ShapeRef.new(shape: BatchLoadDataFormat, required: true, location_name: "DataFormat"))
234
+ DataSourceConfiguration.struct_class = Types::DataSourceConfiguration
235
+
236
+ DataSourceS3Configuration.add_member(:bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, required: true, location_name: "BucketName"))
237
+ DataSourceS3Configuration.add_member(:object_key_prefix, Shapes::ShapeRef.new(shape: S3ObjectKey, location_name: "ObjectKeyPrefix"))
238
+ DataSourceS3Configuration.struct_class = Types::DataSourceS3Configuration
239
+
127
240
  Database.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
128
241
  Database.add_member(:database_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "DatabaseName"))
129
242
  Database.add_member(:table_count, Shapes::ShapeRef.new(shape: Long, location_name: "TableCount"))
@@ -141,6 +254,12 @@ module Aws::TimestreamWrite
141
254
  DeleteTableRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "TableName"))
142
255
  DeleteTableRequest.struct_class = Types::DeleteTableRequest
143
256
 
257
+ DescribeBatchLoadTaskRequest.add_member(:task_id, Shapes::ShapeRef.new(shape: BatchLoadTaskId, required: true, location_name: "TaskId"))
258
+ DescribeBatchLoadTaskRequest.struct_class = Types::DescribeBatchLoadTaskRequest
259
+
260
+ DescribeBatchLoadTaskResponse.add_member(:batch_load_task_description, Shapes::ShapeRef.new(shape: BatchLoadTaskDescription, required: true, location_name: "BatchLoadTaskDescription"))
261
+ DescribeBatchLoadTaskResponse.struct_class = Types::DescribeBatchLoadTaskResponse
262
+
144
263
  DescribeDatabaseRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "DatabaseName"))
145
264
  DescribeDatabaseRequest.struct_class = Types::DescribeDatabaseRequest
146
265
 
@@ -164,6 +283,12 @@ module Aws::TimestreamWrite
164
283
  Dimension.add_member(:dimension_value_type, Shapes::ShapeRef.new(shape: DimensionValueType, location_name: "DimensionValueType"))
165
284
  Dimension.struct_class = Types::Dimension
166
285
 
286
+ DimensionMapping.add_member(:source_column, Shapes::ShapeRef.new(shape: SchemaName, location_name: "SourceColumn"))
287
+ DimensionMapping.add_member(:destination_column, Shapes::ShapeRef.new(shape: SchemaName, location_name: "DestinationColumn"))
288
+ DimensionMapping.struct_class = Types::DimensionMapping
289
+
290
+ DimensionMappings.member = Shapes::ShapeRef.new(shape: DimensionMapping)
291
+
167
292
  Dimensions.member = Shapes::ShapeRef.new(shape: Dimension)
168
293
 
169
294
  Endpoint.add_member(:address, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Address"))
@@ -178,6 +303,15 @@ module Aws::TimestreamWrite
178
303
  InvalidEndpointException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
179
304
  InvalidEndpointException.struct_class = Types::InvalidEndpointException
180
305
 
306
+ ListBatchLoadTasksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
307
+ ListBatchLoadTasksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageLimit, location_name: "MaxResults"))
308
+ ListBatchLoadTasksRequest.add_member(:task_status, Shapes::ShapeRef.new(shape: BatchLoadStatus, location_name: "TaskStatus"))
309
+ ListBatchLoadTasksRequest.struct_class = Types::ListBatchLoadTasksRequest
310
+
311
+ ListBatchLoadTasksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
312
+ ListBatchLoadTasksResponse.add_member(:batch_load_tasks, Shapes::ShapeRef.new(shape: BatchLoadTaskList, location_name: "BatchLoadTasks"))
313
+ ListBatchLoadTasksResponse.struct_class = Types::ListBatchLoadTasksResponse
314
+
181
315
  ListDatabasesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
182
316
  ListDatabasesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PaginationLimit, location_name: "MaxResults"))
183
317
  ListDatabasesRequest.struct_class = Types::ListDatabasesRequest
@@ -215,6 +349,26 @@ module Aws::TimestreamWrite
215
349
 
216
350
  MeasureValues.member = Shapes::ShapeRef.new(shape: MeasureValue)
217
351
 
352
+ MixedMeasureMapping.add_member(:measure_name, Shapes::ShapeRef.new(shape: SchemaName, location_name: "MeasureName"))
353
+ MixedMeasureMapping.add_member(:source_column, Shapes::ShapeRef.new(shape: SchemaName, location_name: "SourceColumn"))
354
+ MixedMeasureMapping.add_member(:target_measure_name, Shapes::ShapeRef.new(shape: SchemaName, location_name: "TargetMeasureName"))
355
+ MixedMeasureMapping.add_member(:measure_value_type, Shapes::ShapeRef.new(shape: MeasureValueType, required: true, location_name: "MeasureValueType"))
356
+ MixedMeasureMapping.add_member(:multi_measure_attribute_mappings, Shapes::ShapeRef.new(shape: MultiMeasureAttributeMappingList, location_name: "MultiMeasureAttributeMappings"))
357
+ MixedMeasureMapping.struct_class = Types::MixedMeasureMapping
358
+
359
+ MixedMeasureMappingList.member = Shapes::ShapeRef.new(shape: MixedMeasureMapping)
360
+
361
+ MultiMeasureAttributeMapping.add_member(:source_column, Shapes::ShapeRef.new(shape: SchemaName, required: true, location_name: "SourceColumn"))
362
+ MultiMeasureAttributeMapping.add_member(:target_multi_measure_attribute_name, Shapes::ShapeRef.new(shape: SchemaName, location_name: "TargetMultiMeasureAttributeName"))
363
+ MultiMeasureAttributeMapping.add_member(:measure_value_type, Shapes::ShapeRef.new(shape: ScalarMeasureValueType, location_name: "MeasureValueType"))
364
+ MultiMeasureAttributeMapping.struct_class = Types::MultiMeasureAttributeMapping
365
+
366
+ MultiMeasureAttributeMappingList.member = Shapes::ShapeRef.new(shape: MultiMeasureAttributeMapping)
367
+
368
+ MultiMeasureMappings.add_member(:target_multi_measure_name, Shapes::ShapeRef.new(shape: SchemaName, location_name: "TargetMultiMeasureName"))
369
+ MultiMeasureMappings.add_member(:multi_measure_attribute_mappings, Shapes::ShapeRef.new(shape: MultiMeasureAttributeMappingList, required: true, location_name: "MultiMeasureAttributeMappings"))
370
+ MultiMeasureMappings.struct_class = Types::MultiMeasureMappings
371
+
218
372
  Record.add_member(:dimensions, Shapes::ShapeRef.new(shape: Dimensions, location_name: "Dimensions"))
219
373
  Record.add_member(:measure_name, Shapes::ShapeRef.new(shape: SchemaName, location_name: "MeasureName"))
220
374
  Record.add_member(:measure_value, Shapes::ShapeRef.new(shape: StringValue2048, location_name: "MeasureValue"))
@@ -243,9 +397,23 @@ module Aws::TimestreamWrite
243
397
  RejectedRecordsException.add_member(:rejected_records, Shapes::ShapeRef.new(shape: RejectedRecords, location_name: "RejectedRecords"))
244
398
  RejectedRecordsException.struct_class = Types::RejectedRecordsException
245
399
 
400
+ ReportConfiguration.add_member(:report_s3_configuration, Shapes::ShapeRef.new(shape: ReportS3Configuration, location_name: "ReportS3Configuration"))
401
+ ReportConfiguration.struct_class = Types::ReportConfiguration
402
+
403
+ ReportS3Configuration.add_member(:bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, required: true, location_name: "BucketName"))
404
+ ReportS3Configuration.add_member(:object_key_prefix, Shapes::ShapeRef.new(shape: S3ObjectKeyPrefix, location_name: "ObjectKeyPrefix"))
405
+ ReportS3Configuration.add_member(:encryption_option, Shapes::ShapeRef.new(shape: S3EncryptionOption, location_name: "EncryptionOption"))
406
+ ReportS3Configuration.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: StringValue2048, location_name: "KmsKeyId"))
407
+ ReportS3Configuration.struct_class = Types::ReportS3Configuration
408
+
246
409
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
247
410
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
248
411
 
412
+ ResumeBatchLoadTaskRequest.add_member(:task_id, Shapes::ShapeRef.new(shape: BatchLoadTaskId, required: true, location_name: "TaskId"))
413
+ ResumeBatchLoadTaskRequest.struct_class = Types::ResumeBatchLoadTaskRequest
414
+
415
+ ResumeBatchLoadTaskResponse.struct_class = Types::ResumeBatchLoadTaskResponse
416
+
249
417
  RetentionProperties.add_member(:memory_store_retention_period_in_hours, Shapes::ShapeRef.new(shape: MemoryStoreRetentionPeriodInHours, required: true, location_name: "MemoryStoreRetentionPeriodInHours"))
250
418
  RetentionProperties.add_member(:magnetic_store_retention_period_in_days, Shapes::ShapeRef.new(shape: MagneticStoreRetentionPeriodInDays, required: true, location_name: "MagneticStoreRetentionPeriodInDays"))
251
419
  RetentionProperties.struct_class = Types::RetentionProperties
@@ -344,6 +512,25 @@ module Aws::TimestreamWrite
344
512
  api.endpoint_operation = :describe_endpoints
345
513
  api.require_endpoint_discovery = true
346
514
 
515
+ api.add_operation(:create_batch_load_task, Seahorse::Model::Operation.new.tap do |o|
516
+ o.name = "CreateBatchLoadTask"
517
+ o.http_method = "POST"
518
+ o.http_request_uri = "/"
519
+ o.endpoint_discovery = {
520
+ "required" => true,
521
+ }
522
+ o.input = Shapes::ShapeRef.new(shape: CreateBatchLoadTaskRequest)
523
+ o.output = Shapes::ShapeRef.new(shape: CreateBatchLoadTaskResponse)
524
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
525
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
526
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
527
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
528
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
529
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
530
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
531
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEndpointException)
532
+ end)
533
+
347
534
  api.add_operation(:create_database, Seahorse::Model::Operation.new.tap do |o|
348
535
  o.name = "CreateDatabase"
349
536
  o.http_method = "POST"
@@ -417,6 +604,22 @@ module Aws::TimestreamWrite
417
604
  o.errors << Shapes::ShapeRef.new(shape: InvalidEndpointException)
418
605
  end)
419
606
 
607
+ api.add_operation(:describe_batch_load_task, Seahorse::Model::Operation.new.tap do |o|
608
+ o.name = "DescribeBatchLoadTask"
609
+ o.http_method = "POST"
610
+ o.http_request_uri = "/"
611
+ o.endpoint_discovery = {
612
+ "required" => true,
613
+ }
614
+ o.input = Shapes::ShapeRef.new(shape: DescribeBatchLoadTaskRequest)
615
+ o.output = Shapes::ShapeRef.new(shape: DescribeBatchLoadTaskResponse)
616
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
617
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
618
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
619
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
620
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEndpointException)
621
+ end)
622
+
420
623
  api.add_operation(:describe_database, Seahorse::Model::Operation.new.tap do |o|
421
624
  o.name = "DescribeDatabase"
422
625
  o.http_method = "POST"
@@ -463,6 +666,28 @@ module Aws::TimestreamWrite
463
666
  o.errors << Shapes::ShapeRef.new(shape: InvalidEndpointException)
464
667
  end)
465
668
 
669
+ api.add_operation(:list_batch_load_tasks, Seahorse::Model::Operation.new.tap do |o|
670
+ o.name = "ListBatchLoadTasks"
671
+ o.http_method = "POST"
672
+ o.http_request_uri = "/"
673
+ o.endpoint_discovery = {
674
+ "required" => true,
675
+ }
676
+ o.input = Shapes::ShapeRef.new(shape: ListBatchLoadTasksRequest)
677
+ o.output = Shapes::ShapeRef.new(shape: ListBatchLoadTasksResponse)
678
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
679
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
680
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
681
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
682
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEndpointException)
683
+ o[:pager] = Aws::Pager.new(
684
+ limit_key: "max_results",
685
+ tokens: {
686
+ "next_token" => "next_token"
687
+ }
688
+ )
689
+ end)
690
+
466
691
  api.add_operation(:list_databases, Seahorse::Model::Operation.new.tap do |o|
467
692
  o.name = "ListDatabases"
468
693
  o.http_method = "POST"
@@ -523,6 +748,23 @@ module Aws::TimestreamWrite
523
748
  o.errors << Shapes::ShapeRef.new(shape: InvalidEndpointException)
524
749
  end)
525
750
 
751
+ api.add_operation(:resume_batch_load_task, Seahorse::Model::Operation.new.tap do |o|
752
+ o.name = "ResumeBatchLoadTask"
753
+ o.http_method = "POST"
754
+ o.http_request_uri = "/"
755
+ o.endpoint_discovery = {
756
+ "required" => true,
757
+ }
758
+ o.input = Shapes::ShapeRef.new(shape: ResumeBatchLoadTaskRequest)
759
+ o.output = Shapes::ShapeRef.new(shape: ResumeBatchLoadTaskResponse)
760
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
761
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
762
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
763
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
764
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
765
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEndpointException)
766
+ end)
767
+
526
768
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
527
769
  o.name = "TagResource"
528
770
  o.http_method = "POST"
@@ -14,36 +14,39 @@ module Aws::TimestreamWrite
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
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
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  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"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  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: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ 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"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://ingest.timestream-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://ingest.timestream-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://ingest.timestream.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://ingest.timestream.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://ingest.timestream.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end
@@ -11,6 +11,20 @@
11
11
  module Aws::TimestreamWrite
12
12
  module Endpoints
13
13
 
14
+ class CreateBatchLoadTask
15
+ def self.build(context)
16
+ unless context.config.regional_endpoint
17
+ endpoint = context.config.endpoint.to_s
18
+ end
19
+ Aws::TimestreamWrite::EndpointParameters.new(
20
+ region: context.config.region,
21
+ use_dual_stack: context.config.use_dualstack_endpoint,
22
+ use_fips: context.config.use_fips_endpoint,
23
+ endpoint: endpoint,
24
+ )
25
+ end
26
+ end
27
+
14
28
  class CreateDatabase
15
29
  def self.build(context)
16
30
  unless context.config.regional_endpoint
@@ -67,6 +81,20 @@ module Aws::TimestreamWrite
67
81
  end
68
82
  end
69
83
 
84
+ class DescribeBatchLoadTask
85
+ def self.build(context)
86
+ unless context.config.regional_endpoint
87
+ endpoint = context.config.endpoint.to_s
88
+ end
89
+ Aws::TimestreamWrite::EndpointParameters.new(
90
+ region: context.config.region,
91
+ use_dual_stack: context.config.use_dualstack_endpoint,
92
+ use_fips: context.config.use_fips_endpoint,
93
+ endpoint: endpoint,
94
+ )
95
+ end
96
+ end
97
+
70
98
  class DescribeDatabase
71
99
  def self.build(context)
72
100
  unless context.config.regional_endpoint
@@ -109,6 +137,20 @@ module Aws::TimestreamWrite
109
137
  end
110
138
  end
111
139
 
140
+ class ListBatchLoadTasks
141
+ def self.build(context)
142
+ unless context.config.regional_endpoint
143
+ endpoint = context.config.endpoint.to_s
144
+ end
145
+ Aws::TimestreamWrite::EndpointParameters.new(
146
+ region: context.config.region,
147
+ use_dual_stack: context.config.use_dualstack_endpoint,
148
+ use_fips: context.config.use_fips_endpoint,
149
+ endpoint: endpoint,
150
+ )
151
+ end
152
+ end
153
+
112
154
  class ListDatabases
113
155
  def self.build(context)
114
156
  unless context.config.regional_endpoint
@@ -151,6 +193,20 @@ module Aws::TimestreamWrite
151
193
  end
152
194
  end
153
195
 
196
+ class ResumeBatchLoadTask
197
+ def self.build(context)
198
+ unless context.config.regional_endpoint
199
+ endpoint = context.config.endpoint.to_s
200
+ end
201
+ Aws::TimestreamWrite::EndpointParameters.new(
202
+ region: context.config.region,
203
+ use_dual_stack: context.config.use_dualstack_endpoint,
204
+ use_fips: context.config.use_fips_endpoint,
205
+ endpoint: endpoint,
206
+ )
207
+ end
208
+ end
209
+
154
210
  class TagResource
155
211
  def self.build(context)
156
212
  unless context.config.regional_endpoint
@@ -56,6 +56,8 @@ module Aws::TimestreamWrite
56
56
 
57
57
  def parameters_for_operation(context)
58
58
  case context.operation_name
59
+ when :create_batch_load_task
60
+ Aws::TimestreamWrite::Endpoints::CreateBatchLoadTask.build(context)
59
61
  when :create_database
60
62
  Aws::TimestreamWrite::Endpoints::CreateDatabase.build(context)
61
63
  when :create_table
@@ -64,18 +66,24 @@ module Aws::TimestreamWrite
64
66
  Aws::TimestreamWrite::Endpoints::DeleteDatabase.build(context)
65
67
  when :delete_table
66
68
  Aws::TimestreamWrite::Endpoints::DeleteTable.build(context)
69
+ when :describe_batch_load_task
70
+ Aws::TimestreamWrite::Endpoints::DescribeBatchLoadTask.build(context)
67
71
  when :describe_database
68
72
  Aws::TimestreamWrite::Endpoints::DescribeDatabase.build(context)
69
73
  when :describe_endpoints
70
74
  Aws::TimestreamWrite::Endpoints::DescribeEndpoints.build(context)
71
75
  when :describe_table
72
76
  Aws::TimestreamWrite::Endpoints::DescribeTable.build(context)
77
+ when :list_batch_load_tasks
78
+ Aws::TimestreamWrite::Endpoints::ListBatchLoadTasks.build(context)
73
79
  when :list_databases
74
80
  Aws::TimestreamWrite::Endpoints::ListDatabases.build(context)
75
81
  when :list_tables
76
82
  Aws::TimestreamWrite::Endpoints::ListTables.build(context)
77
83
  when :list_tags_for_resource
78
84
  Aws::TimestreamWrite::Endpoints::ListTagsForResource.build(context)
85
+ when :resume_batch_load_task
86
+ Aws::TimestreamWrite::Endpoints::ResumeBatchLoadTask.build(context)
79
87
  when :tag_resource
80
88
  Aws::TimestreamWrite::Endpoints::TagResource.build(context)
81
89
  when :untag_resource