aws-sdk-timestreaminfluxdb 1.18.0 → 1.20.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.
@@ -19,12 +19,22 @@ module Aws::TimestreamInfluxDB
19
19
  Arn = Shapes::StringShape.new(name: 'Arn')
20
20
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
21
21
  Bucket = Shapes::StringShape.new(name: 'Bucket')
22
+ ClusterDeploymentType = Shapes::StringShape.new(name: 'ClusterDeploymentType')
23
+ ClusterStatus = Shapes::StringShape.new(name: 'ClusterStatus')
22
24
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
25
+ CreateDbClusterInput = Shapes::StructureShape.new(name: 'CreateDbClusterInput')
26
+ CreateDbClusterOutput = Shapes::StructureShape.new(name: 'CreateDbClusterOutput')
23
27
  CreateDbInstanceInput = Shapes::StructureShape.new(name: 'CreateDbInstanceInput')
24
28
  CreateDbInstanceOutput = Shapes::StructureShape.new(name: 'CreateDbInstanceOutput')
25
29
  CreateDbParameterGroupInput = Shapes::StructureShape.new(name: 'CreateDbParameterGroupInput')
26
30
  CreateDbParameterGroupInputDescriptionString = Shapes::StringShape.new(name: 'CreateDbParameterGroupInputDescriptionString')
27
31
  CreateDbParameterGroupOutput = Shapes::StructureShape.new(name: 'CreateDbParameterGroupOutput')
32
+ DbClusterId = Shapes::StringShape.new(name: 'DbClusterId')
33
+ DbClusterName = Shapes::StringShape.new(name: 'DbClusterName')
34
+ DbClusterSummary = Shapes::StructureShape.new(name: 'DbClusterSummary')
35
+ DbClusterSummaryList = Shapes::ListShape.new(name: 'DbClusterSummaryList')
36
+ DbInstanceForClusterSummary = Shapes::StructureShape.new(name: 'DbInstanceForClusterSummary')
37
+ DbInstanceForClusterSummaryList = Shapes::ListShape.new(name: 'DbInstanceForClusterSummaryList')
28
38
  DbInstanceId = Shapes::StringShape.new(name: 'DbInstanceId')
29
39
  DbInstanceIdentifier = Shapes::StringShape.new(name: 'DbInstanceIdentifier')
30
40
  DbInstanceName = Shapes::StringShape.new(name: 'DbInstanceName')
@@ -37,12 +47,17 @@ module Aws::TimestreamInfluxDB
37
47
  DbParameterGroupSummary = Shapes::StructureShape.new(name: 'DbParameterGroupSummary')
38
48
  DbParameterGroupSummaryList = Shapes::ListShape.new(name: 'DbParameterGroupSummaryList')
39
49
  DbStorageType = Shapes::StringShape.new(name: 'DbStorageType')
50
+ DeleteDbClusterInput = Shapes::StructureShape.new(name: 'DeleteDbClusterInput')
51
+ DeleteDbClusterOutput = Shapes::StructureShape.new(name: 'DeleteDbClusterOutput')
40
52
  DeleteDbInstanceInput = Shapes::StructureShape.new(name: 'DeleteDbInstanceInput')
41
53
  DeleteDbInstanceOutput = Shapes::StructureShape.new(name: 'DeleteDbInstanceOutput')
42
54
  DeploymentType = Shapes::StringShape.new(name: 'DeploymentType')
43
55
  Duration = Shapes::StructureShape.new(name: 'Duration')
44
56
  DurationType = Shapes::StringShape.new(name: 'DurationType')
45
57
  DurationValueLong = Shapes::IntegerShape.new(name: 'DurationValueLong')
58
+ FailoverMode = Shapes::StringShape.new(name: 'FailoverMode')
59
+ GetDbClusterInput = Shapes::StructureShape.new(name: 'GetDbClusterInput')
60
+ GetDbClusterOutput = Shapes::StructureShape.new(name: 'GetDbClusterOutput')
46
61
  GetDbInstanceInput = Shapes::StructureShape.new(name: 'GetDbInstanceInput')
47
62
  GetDbInstanceOutput = Shapes::StructureShape.new(name: 'GetDbInstanceOutput')
48
63
  GetDbParameterGroupInput = Shapes::StructureShape.new(name: 'GetDbParameterGroupInput')
@@ -65,8 +80,13 @@ module Aws::TimestreamInfluxDB
65
80
  InfluxDBv2ParametersStorageSeriesFileMaxConcurrentSnapshotCompactionsInteger = Shapes::IntegerShape.new(name: 'InfluxDBv2ParametersStorageSeriesFileMaxConcurrentSnapshotCompactionsInteger')
66
81
  InfluxDBv2ParametersStorageSeriesIdSetCacheSizeLong = Shapes::IntegerShape.new(name: 'InfluxDBv2ParametersStorageSeriesIdSetCacheSizeLong')
67
82
  InfluxDBv2ParametersStorageWalMaxConcurrentWritesInteger = Shapes::IntegerShape.new(name: 'InfluxDBv2ParametersStorageWalMaxConcurrentWritesInteger')
83
+ InstanceMode = Shapes::StringShape.new(name: 'InstanceMode')
68
84
  Integer = Shapes::IntegerShape.new(name: 'Integer')
69
85
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
86
+ ListDbClustersInput = Shapes::StructureShape.new(name: 'ListDbClustersInput')
87
+ ListDbClustersOutput = Shapes::StructureShape.new(name: 'ListDbClustersOutput')
88
+ ListDbInstancesForClusterInput = Shapes::StructureShape.new(name: 'ListDbInstancesForClusterInput')
89
+ ListDbInstancesForClusterOutput = Shapes::StructureShape.new(name: 'ListDbInstancesForClusterOutput')
70
90
  ListDbInstancesInput = Shapes::StructureShape.new(name: 'ListDbInstancesInput')
71
91
  ListDbInstancesOutput = Shapes::StructureShape.new(name: 'ListDbInstancesOutput')
72
92
  ListDbParameterGroupsInput = Shapes::StructureShape.new(name: 'ListDbParameterGroupsInput')
@@ -97,6 +117,8 @@ module Aws::TimestreamInfluxDB
97
117
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
98
118
  TracingType = Shapes::StringShape.new(name: 'TracingType')
99
119
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
120
+ UpdateDbClusterInput = Shapes::StructureShape.new(name: 'UpdateDbClusterInput')
121
+ UpdateDbClusterOutput = Shapes::StructureShape.new(name: 'UpdateDbClusterOutput')
100
122
  UpdateDbInstanceInput = Shapes::StructureShape.new(name: 'UpdateDbInstanceInput')
101
123
  UpdateDbInstanceOutput = Shapes::StructureShape.new(name: 'UpdateDbInstanceOutput')
102
124
  Username = Shapes::StringShape.new(name: 'Username')
@@ -115,6 +137,30 @@ module Aws::TimestreamInfluxDB
115
137
  ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
116
138
  ConflictException.struct_class = Types::ConflictException
117
139
 
140
+ CreateDbClusterInput.add_member(:name, Shapes::ShapeRef.new(shape: DbClusterName, required: true, location_name: "name"))
141
+ CreateDbClusterInput.add_member(:username, Shapes::ShapeRef.new(shape: Username, location_name: "username"))
142
+ CreateDbClusterInput.add_member(:password, Shapes::ShapeRef.new(shape: Password, required: true, location_name: "password"))
143
+ CreateDbClusterInput.add_member(:organization, Shapes::ShapeRef.new(shape: Organization, location_name: "organization"))
144
+ CreateDbClusterInput.add_member(:bucket, Shapes::ShapeRef.new(shape: Bucket, location_name: "bucket"))
145
+ CreateDbClusterInput.add_member(:port, Shapes::ShapeRef.new(shape: Port, location_name: "port"))
146
+ CreateDbClusterInput.add_member(:db_parameter_group_identifier, Shapes::ShapeRef.new(shape: DbParameterGroupIdentifier, location_name: "dbParameterGroupIdentifier"))
147
+ CreateDbClusterInput.add_member(:db_instance_type, Shapes::ShapeRef.new(shape: DbInstanceType, required: true, location_name: "dbInstanceType"))
148
+ CreateDbClusterInput.add_member(:db_storage_type, Shapes::ShapeRef.new(shape: DbStorageType, location_name: "dbStorageType"))
149
+ CreateDbClusterInput.add_member(:allocated_storage, Shapes::ShapeRef.new(shape: AllocatedStorage, required: true, location_name: "allocatedStorage"))
150
+ CreateDbClusterInput.add_member(:network_type, Shapes::ShapeRef.new(shape: NetworkType, location_name: "networkType"))
151
+ CreateDbClusterInput.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: Boolean, location_name: "publiclyAccessible"))
152
+ CreateDbClusterInput.add_member(:vpc_subnet_ids, Shapes::ShapeRef.new(shape: VpcSubnetIdList, required: true, location_name: "vpcSubnetIds"))
153
+ CreateDbClusterInput.add_member(:vpc_security_group_ids, Shapes::ShapeRef.new(shape: VpcSecurityGroupIdList, required: true, location_name: "vpcSecurityGroupIds"))
154
+ CreateDbClusterInput.add_member(:deployment_type, Shapes::ShapeRef.new(shape: ClusterDeploymentType, required: true, location_name: "deploymentType"))
155
+ CreateDbClusterInput.add_member(:failover_mode, Shapes::ShapeRef.new(shape: FailoverMode, location_name: "failoverMode"))
156
+ CreateDbClusterInput.add_member(:log_delivery_configuration, Shapes::ShapeRef.new(shape: LogDeliveryConfiguration, location_name: "logDeliveryConfiguration"))
157
+ CreateDbClusterInput.add_member(:tags, Shapes::ShapeRef.new(shape: RequestTagMap, location_name: "tags"))
158
+ CreateDbClusterInput.struct_class = Types::CreateDbClusterInput
159
+
160
+ CreateDbClusterOutput.add_member(:db_cluster_id, Shapes::ShapeRef.new(shape: DbClusterId, location_name: "dbClusterId"))
161
+ CreateDbClusterOutput.add_member(:db_cluster_status, Shapes::ShapeRef.new(shape: ClusterStatus, location_name: "dbClusterStatus"))
162
+ CreateDbClusterOutput.struct_class = Types::CreateDbClusterOutput
163
+
118
164
  CreateDbInstanceInput.add_member(:name, Shapes::ShapeRef.new(shape: DbInstanceName, required: true, location_name: "name"))
119
165
  CreateDbInstanceInput.add_member(:username, Shapes::ShapeRef.new(shape: Username, location_name: "username"))
120
166
  CreateDbInstanceInput.add_member(:password, Shapes::ShapeRef.new(shape: Password, required: true, location_name: "password"))
@@ -153,6 +199,8 @@ module Aws::TimestreamInfluxDB
153
199
  CreateDbInstanceOutput.add_member(:secondary_availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "secondaryAvailabilityZone"))
154
200
  CreateDbInstanceOutput.add_member(:log_delivery_configuration, Shapes::ShapeRef.new(shape: LogDeliveryConfiguration, location_name: "logDeliveryConfiguration"))
155
201
  CreateDbInstanceOutput.add_member(:influx_auth_parameters_secret_arn, Shapes::ShapeRef.new(shape: String, location_name: "influxAuthParametersSecretArn"))
202
+ CreateDbInstanceOutput.add_member(:db_cluster_id, Shapes::ShapeRef.new(shape: DbClusterId, location_name: "dbClusterId"))
203
+ CreateDbInstanceOutput.add_member(:instance_mode, Shapes::ShapeRef.new(shape: InstanceMode, location_name: "instanceMode"))
156
204
  CreateDbInstanceOutput.struct_class = Types::CreateDbInstanceOutput
157
205
 
158
206
  CreateDbParameterGroupInput.add_member(:name, Shapes::ShapeRef.new(shape: DbParameterGroupName, required: true, location_name: "name"))
@@ -168,6 +216,38 @@ module Aws::TimestreamInfluxDB
168
216
  CreateDbParameterGroupOutput.add_member(:parameters, Shapes::ShapeRef.new(shape: Parameters, location_name: "parameters"))
169
217
  CreateDbParameterGroupOutput.struct_class = Types::CreateDbParameterGroupOutput
170
218
 
219
+ DbClusterSummary.add_member(:id, Shapes::ShapeRef.new(shape: DbClusterId, required: true, location_name: "id"))
220
+ DbClusterSummary.add_member(:name, Shapes::ShapeRef.new(shape: DbClusterName, required: true, location_name: "name"))
221
+ DbClusterSummary.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
222
+ DbClusterSummary.add_member(:status, Shapes::ShapeRef.new(shape: ClusterStatus, location_name: "status"))
223
+ DbClusterSummary.add_member(:endpoint, Shapes::ShapeRef.new(shape: String, location_name: "endpoint"))
224
+ DbClusterSummary.add_member(:reader_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "readerEndpoint"))
225
+ DbClusterSummary.add_member(:port, Shapes::ShapeRef.new(shape: Port, location_name: "port"))
226
+ DbClusterSummary.add_member(:deployment_type, Shapes::ShapeRef.new(shape: ClusterDeploymentType, location_name: "deploymentType"))
227
+ DbClusterSummary.add_member(:db_instance_type, Shapes::ShapeRef.new(shape: DbInstanceType, location_name: "dbInstanceType"))
228
+ DbClusterSummary.add_member(:network_type, Shapes::ShapeRef.new(shape: NetworkType, location_name: "networkType"))
229
+ DbClusterSummary.add_member(:db_storage_type, Shapes::ShapeRef.new(shape: DbStorageType, location_name: "dbStorageType"))
230
+ DbClusterSummary.add_member(:allocated_storage, Shapes::ShapeRef.new(shape: AllocatedStorage, location_name: "allocatedStorage"))
231
+ DbClusterSummary.struct_class = Types::DbClusterSummary
232
+
233
+ DbClusterSummaryList.member = Shapes::ShapeRef.new(shape: DbClusterSummary)
234
+
235
+ DbInstanceForClusterSummary.add_member(:id, Shapes::ShapeRef.new(shape: DbInstanceId, required: true, location_name: "id"))
236
+ DbInstanceForClusterSummary.add_member(:name, Shapes::ShapeRef.new(shape: DbInstanceName, required: true, location_name: "name"))
237
+ DbInstanceForClusterSummary.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
238
+ DbInstanceForClusterSummary.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
239
+ DbInstanceForClusterSummary.add_member(:endpoint, Shapes::ShapeRef.new(shape: String, location_name: "endpoint"))
240
+ DbInstanceForClusterSummary.add_member(:port, Shapes::ShapeRef.new(shape: Port, location_name: "port"))
241
+ DbInstanceForClusterSummary.add_member(:network_type, Shapes::ShapeRef.new(shape: NetworkType, location_name: "networkType"))
242
+ DbInstanceForClusterSummary.add_member(:db_instance_type, Shapes::ShapeRef.new(shape: DbInstanceType, location_name: "dbInstanceType"))
243
+ DbInstanceForClusterSummary.add_member(:db_storage_type, Shapes::ShapeRef.new(shape: DbStorageType, location_name: "dbStorageType"))
244
+ DbInstanceForClusterSummary.add_member(:allocated_storage, Shapes::ShapeRef.new(shape: AllocatedStorage, location_name: "allocatedStorage"))
245
+ DbInstanceForClusterSummary.add_member(:deployment_type, Shapes::ShapeRef.new(shape: DeploymentType, location_name: "deploymentType"))
246
+ DbInstanceForClusterSummary.add_member(:instance_mode, Shapes::ShapeRef.new(shape: InstanceMode, location_name: "instanceMode"))
247
+ DbInstanceForClusterSummary.struct_class = Types::DbInstanceForClusterSummary
248
+
249
+ DbInstanceForClusterSummaryList.member = Shapes::ShapeRef.new(shape: DbInstanceForClusterSummary)
250
+
171
251
  DbInstanceSummary.add_member(:id, Shapes::ShapeRef.new(shape: DbInstanceId, required: true, location_name: "id"))
172
252
  DbInstanceSummary.add_member(:name, Shapes::ShapeRef.new(shape: DbInstanceName, required: true, location_name: "name"))
173
253
  DbInstanceSummary.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
@@ -191,6 +271,12 @@ module Aws::TimestreamInfluxDB
191
271
 
192
272
  DbParameterGroupSummaryList.member = Shapes::ShapeRef.new(shape: DbParameterGroupSummary)
193
273
 
274
+ DeleteDbClusterInput.add_member(:db_cluster_id, Shapes::ShapeRef.new(shape: DbClusterId, required: true, location_name: "dbClusterId"))
275
+ DeleteDbClusterInput.struct_class = Types::DeleteDbClusterInput
276
+
277
+ DeleteDbClusterOutput.add_member(:db_cluster_status, Shapes::ShapeRef.new(shape: ClusterStatus, location_name: "dbClusterStatus"))
278
+ DeleteDbClusterOutput.struct_class = Types::DeleteDbClusterOutput
279
+
194
280
  DeleteDbInstanceInput.add_member(:identifier, Shapes::ShapeRef.new(shape: DbInstanceIdentifier, required: true, location_name: "identifier"))
195
281
  DeleteDbInstanceInput.struct_class = Types::DeleteDbInstanceInput
196
282
 
@@ -213,12 +299,38 @@ module Aws::TimestreamInfluxDB
213
299
  DeleteDbInstanceOutput.add_member(:secondary_availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "secondaryAvailabilityZone"))
214
300
  DeleteDbInstanceOutput.add_member(:log_delivery_configuration, Shapes::ShapeRef.new(shape: LogDeliveryConfiguration, location_name: "logDeliveryConfiguration"))
215
301
  DeleteDbInstanceOutput.add_member(:influx_auth_parameters_secret_arn, Shapes::ShapeRef.new(shape: String, location_name: "influxAuthParametersSecretArn"))
302
+ DeleteDbInstanceOutput.add_member(:db_cluster_id, Shapes::ShapeRef.new(shape: DbClusterId, location_name: "dbClusterId"))
303
+ DeleteDbInstanceOutput.add_member(:instance_mode, Shapes::ShapeRef.new(shape: InstanceMode, location_name: "instanceMode"))
216
304
  DeleteDbInstanceOutput.struct_class = Types::DeleteDbInstanceOutput
217
305
 
218
306
  Duration.add_member(:duration_type, Shapes::ShapeRef.new(shape: DurationType, required: true, location_name: "durationType"))
219
307
  Duration.add_member(:value, Shapes::ShapeRef.new(shape: DurationValueLong, required: true, location_name: "value"))
220
308
  Duration.struct_class = Types::Duration
221
309
 
310
+ GetDbClusterInput.add_member(:db_cluster_id, Shapes::ShapeRef.new(shape: DbClusterId, required: true, location_name: "dbClusterId"))
311
+ GetDbClusterInput.struct_class = Types::GetDbClusterInput
312
+
313
+ GetDbClusterOutput.add_member(:id, Shapes::ShapeRef.new(shape: DbClusterId, required: true, location_name: "id"))
314
+ GetDbClusterOutput.add_member(:name, Shapes::ShapeRef.new(shape: DbClusterName, required: true, location_name: "name"))
315
+ GetDbClusterOutput.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
316
+ GetDbClusterOutput.add_member(:status, Shapes::ShapeRef.new(shape: ClusterStatus, location_name: "status"))
317
+ GetDbClusterOutput.add_member(:endpoint, Shapes::ShapeRef.new(shape: String, location_name: "endpoint"))
318
+ GetDbClusterOutput.add_member(:reader_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "readerEndpoint"))
319
+ GetDbClusterOutput.add_member(:port, Shapes::ShapeRef.new(shape: Port, location_name: "port"))
320
+ GetDbClusterOutput.add_member(:deployment_type, Shapes::ShapeRef.new(shape: ClusterDeploymentType, location_name: "deploymentType"))
321
+ GetDbClusterOutput.add_member(:db_instance_type, Shapes::ShapeRef.new(shape: DbInstanceType, location_name: "dbInstanceType"))
322
+ GetDbClusterOutput.add_member(:network_type, Shapes::ShapeRef.new(shape: NetworkType, location_name: "networkType"))
323
+ GetDbClusterOutput.add_member(:db_storage_type, Shapes::ShapeRef.new(shape: DbStorageType, location_name: "dbStorageType"))
324
+ GetDbClusterOutput.add_member(:allocated_storage, Shapes::ShapeRef.new(shape: AllocatedStorage, location_name: "allocatedStorage"))
325
+ GetDbClusterOutput.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: Boolean, location_name: "publiclyAccessible"))
326
+ GetDbClusterOutput.add_member(:db_parameter_group_identifier, Shapes::ShapeRef.new(shape: DbParameterGroupIdentifier, location_name: "dbParameterGroupIdentifier"))
327
+ GetDbClusterOutput.add_member(:log_delivery_configuration, Shapes::ShapeRef.new(shape: LogDeliveryConfiguration, location_name: "logDeliveryConfiguration"))
328
+ GetDbClusterOutput.add_member(:influx_auth_parameters_secret_arn, Shapes::ShapeRef.new(shape: String, location_name: "influxAuthParametersSecretArn"))
329
+ GetDbClusterOutput.add_member(:vpc_subnet_ids, Shapes::ShapeRef.new(shape: VpcSubnetIdList, location_name: "vpcSubnetIds"))
330
+ GetDbClusterOutput.add_member(:vpc_security_group_ids, Shapes::ShapeRef.new(shape: VpcSecurityGroupIdList, location_name: "vpcSecurityGroupIds"))
331
+ GetDbClusterOutput.add_member(:failover_mode, Shapes::ShapeRef.new(shape: FailoverMode, location_name: "failoverMode"))
332
+ GetDbClusterOutput.struct_class = Types::GetDbClusterOutput
333
+
222
334
  GetDbInstanceInput.add_member(:identifier, Shapes::ShapeRef.new(shape: DbInstanceIdentifier, required: true, location_name: "identifier"))
223
335
  GetDbInstanceInput.struct_class = Types::GetDbInstanceInput
224
336
 
@@ -241,6 +353,8 @@ module Aws::TimestreamInfluxDB
241
353
  GetDbInstanceOutput.add_member(:secondary_availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "secondaryAvailabilityZone"))
242
354
  GetDbInstanceOutput.add_member(:log_delivery_configuration, Shapes::ShapeRef.new(shape: LogDeliveryConfiguration, location_name: "logDeliveryConfiguration"))
243
355
  GetDbInstanceOutput.add_member(:influx_auth_parameters_secret_arn, Shapes::ShapeRef.new(shape: String, location_name: "influxAuthParametersSecretArn"))
356
+ GetDbInstanceOutput.add_member(:db_cluster_id, Shapes::ShapeRef.new(shape: DbClusterId, location_name: "dbClusterId"))
357
+ GetDbInstanceOutput.add_member(:instance_mode, Shapes::ShapeRef.new(shape: InstanceMode, location_name: "instanceMode"))
244
358
  GetDbInstanceOutput.struct_class = Types::GetDbInstanceOutput
245
359
 
246
360
  GetDbParameterGroupInput.add_member(:identifier, Shapes::ShapeRef.new(shape: DbParameterGroupIdentifier, required: true, location_name: "identifier"))
@@ -292,6 +406,23 @@ module Aws::TimestreamInfluxDB
292
406
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
293
407
  InternalServerException.struct_class = Types::InternalServerException
294
408
 
409
+ ListDbClustersInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
410
+ ListDbClustersInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
411
+ ListDbClustersInput.struct_class = Types::ListDbClustersInput
412
+
413
+ ListDbClustersOutput.add_member(:items, Shapes::ShapeRef.new(shape: DbClusterSummaryList, required: true, location_name: "items"))
414
+ ListDbClustersOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
415
+ ListDbClustersOutput.struct_class = Types::ListDbClustersOutput
416
+
417
+ ListDbInstancesForClusterInput.add_member(:db_cluster_id, Shapes::ShapeRef.new(shape: DbClusterId, required: true, location_name: "dbClusterId"))
418
+ ListDbInstancesForClusterInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
419
+ ListDbInstancesForClusterInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
420
+ ListDbInstancesForClusterInput.struct_class = Types::ListDbInstancesForClusterInput
421
+
422
+ ListDbInstancesForClusterOutput.add_member(:items, Shapes::ShapeRef.new(shape: DbInstanceForClusterSummaryList, required: true, location_name: "items"))
423
+ ListDbInstancesForClusterOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
424
+ ListDbInstancesForClusterOutput.struct_class = Types::ListDbInstancesForClusterOutput
425
+
295
426
  ListDbInstancesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
296
427
  ListDbInstancesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
297
428
  ListDbInstancesInput.struct_class = Types::ListDbInstancesInput
@@ -355,6 +486,17 @@ module Aws::TimestreamInfluxDB
355
486
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "tagKeys"))
356
487
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
357
488
 
489
+ UpdateDbClusterInput.add_member(:db_cluster_id, Shapes::ShapeRef.new(shape: DbClusterId, required: true, location_name: "dbClusterId"))
490
+ UpdateDbClusterInput.add_member(:log_delivery_configuration, Shapes::ShapeRef.new(shape: LogDeliveryConfiguration, location_name: "logDeliveryConfiguration"))
491
+ UpdateDbClusterInput.add_member(:db_parameter_group_identifier, Shapes::ShapeRef.new(shape: DbParameterGroupIdentifier, location_name: "dbParameterGroupIdentifier"))
492
+ UpdateDbClusterInput.add_member(:port, Shapes::ShapeRef.new(shape: Port, location_name: "port"))
493
+ UpdateDbClusterInput.add_member(:db_instance_type, Shapes::ShapeRef.new(shape: DbInstanceType, location_name: "dbInstanceType"))
494
+ UpdateDbClusterInput.add_member(:failover_mode, Shapes::ShapeRef.new(shape: FailoverMode, location_name: "failoverMode"))
495
+ UpdateDbClusterInput.struct_class = Types::UpdateDbClusterInput
496
+
497
+ UpdateDbClusterOutput.add_member(:db_cluster_status, Shapes::ShapeRef.new(shape: ClusterStatus, location_name: "dbClusterStatus"))
498
+ UpdateDbClusterOutput.struct_class = Types::UpdateDbClusterOutput
499
+
358
500
  UpdateDbInstanceInput.add_member(:identifier, Shapes::ShapeRef.new(shape: DbInstanceIdentifier, required: true, location_name: "identifier"))
359
501
  UpdateDbInstanceInput.add_member(:log_delivery_configuration, Shapes::ShapeRef.new(shape: LogDeliveryConfiguration, location_name: "logDeliveryConfiguration"))
360
502
  UpdateDbInstanceInput.add_member(:db_parameter_group_identifier, Shapes::ShapeRef.new(shape: DbParameterGroupIdentifier, location_name: "dbParameterGroupIdentifier"))
@@ -384,6 +526,8 @@ module Aws::TimestreamInfluxDB
384
526
  UpdateDbInstanceOutput.add_member(:secondary_availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "secondaryAvailabilityZone"))
385
527
  UpdateDbInstanceOutput.add_member(:log_delivery_configuration, Shapes::ShapeRef.new(shape: LogDeliveryConfiguration, location_name: "logDeliveryConfiguration"))
386
528
  UpdateDbInstanceOutput.add_member(:influx_auth_parameters_secret_arn, Shapes::ShapeRef.new(shape: String, location_name: "influxAuthParametersSecretArn"))
529
+ UpdateDbInstanceOutput.add_member(:db_cluster_id, Shapes::ShapeRef.new(shape: DbClusterId, location_name: "dbClusterId"))
530
+ UpdateDbInstanceOutput.add_member(:instance_mode, Shapes::ShapeRef.new(shape: InstanceMode, location_name: "instanceMode"))
387
531
  UpdateDbInstanceOutput.struct_class = Types::UpdateDbInstanceOutput
388
532
 
389
533
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
@@ -414,6 +558,21 @@ module Aws::TimestreamInfluxDB
414
558
  "uid" => "timestream-influxdb-2023-01-27",
415
559
  }
416
560
 
561
+ api.add_operation(:create_db_cluster, Seahorse::Model::Operation.new.tap do |o|
562
+ o.name = "CreateDbCluster"
563
+ o.http_method = "POST"
564
+ o.http_request_uri = "/"
565
+ o.input = Shapes::ShapeRef.new(shape: CreateDbClusterInput)
566
+ o.output = Shapes::ShapeRef.new(shape: CreateDbClusterOutput)
567
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
568
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
569
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
570
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
571
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
572
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
573
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
574
+ end)
575
+
417
576
  api.add_operation(:create_db_instance, Seahorse::Model::Operation.new.tap do |o|
418
577
  o.name = "CreateDbInstance"
419
578
  o.http_method = "POST"
@@ -444,6 +603,20 @@ module Aws::TimestreamInfluxDB
444
603
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
445
604
  end)
446
605
 
606
+ api.add_operation(:delete_db_cluster, Seahorse::Model::Operation.new.tap do |o|
607
+ o.name = "DeleteDbCluster"
608
+ o.http_method = "POST"
609
+ o.http_request_uri = "/"
610
+ o.input = Shapes::ShapeRef.new(shape: DeleteDbClusterInput)
611
+ o.output = Shapes::ShapeRef.new(shape: DeleteDbClusterOutput)
612
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
613
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
614
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
615
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
616
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
617
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
618
+ end)
619
+
447
620
  api.add_operation(:delete_db_instance, Seahorse::Model::Operation.new.tap do |o|
448
621
  o.name = "DeleteDbInstance"
449
622
  o.http_method = "POST"
@@ -458,6 +631,19 @@ module Aws::TimestreamInfluxDB
458
631
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
459
632
  end)
460
633
 
634
+ api.add_operation(:get_db_cluster, Seahorse::Model::Operation.new.tap do |o|
635
+ o.name = "GetDbCluster"
636
+ o.http_method = "POST"
637
+ o.http_request_uri = "/"
638
+ o.input = Shapes::ShapeRef.new(shape: GetDbClusterInput)
639
+ o.output = Shapes::ShapeRef.new(shape: GetDbClusterOutput)
640
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
641
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
642
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
643
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
644
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
645
+ end)
646
+
461
647
  api.add_operation(:get_db_instance, Seahorse::Model::Operation.new.tap do |o|
462
648
  o.name = "GetDbInstance"
463
649
  o.http_method = "POST"
@@ -484,6 +670,25 @@ module Aws::TimestreamInfluxDB
484
670
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
485
671
  end)
486
672
 
673
+ api.add_operation(:list_db_clusters, Seahorse::Model::Operation.new.tap do |o|
674
+ o.name = "ListDbClusters"
675
+ o.http_method = "POST"
676
+ o.http_request_uri = "/"
677
+ o.input = Shapes::ShapeRef.new(shape: ListDbClustersInput)
678
+ o.output = Shapes::ShapeRef.new(shape: ListDbClustersOutput)
679
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
680
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
681
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
682
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
683
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
684
+ o[:pager] = Aws::Pager.new(
685
+ limit_key: "max_results",
686
+ tokens: {
687
+ "next_token" => "next_token"
688
+ }
689
+ )
690
+ end)
691
+
487
692
  api.add_operation(:list_db_instances, Seahorse::Model::Operation.new.tap do |o|
488
693
  o.name = "ListDbInstances"
489
694
  o.http_method = "POST"
@@ -503,6 +708,25 @@ module Aws::TimestreamInfluxDB
503
708
  )
504
709
  end)
505
710
 
711
+ api.add_operation(:list_db_instances_for_cluster, Seahorse::Model::Operation.new.tap do |o|
712
+ o.name = "ListDbInstancesForCluster"
713
+ o.http_method = "POST"
714
+ o.http_request_uri = "/"
715
+ o.input = Shapes::ShapeRef.new(shape: ListDbInstancesForClusterInput)
716
+ o.output = Shapes::ShapeRef.new(shape: ListDbInstancesForClusterOutput)
717
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
718
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
719
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
720
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
721
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
722
+ o[:pager] = Aws::Pager.new(
723
+ limit_key: "max_results",
724
+ tokens: {
725
+ "next_token" => "next_token"
726
+ }
727
+ )
728
+ end)
729
+
506
730
  api.add_operation(:list_db_parameter_groups, Seahorse::Model::Operation.new.tap do |o|
507
731
  o.name = "ListDbParameterGroups"
508
732
  o.http_method = "POST"
@@ -550,6 +774,20 @@ module Aws::TimestreamInfluxDB
550
774
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
551
775
  end)
552
776
 
777
+ api.add_operation(:update_db_cluster, Seahorse::Model::Operation.new.tap do |o|
778
+ o.name = "UpdateDbCluster"
779
+ o.http_method = "POST"
780
+ o.http_request_uri = "/"
781
+ o.input = Shapes::ShapeRef.new(shape: UpdateDbClusterInput)
782
+ o.output = Shapes::ShapeRef.new(shape: UpdateDbClusterOutput)
783
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
784
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
785
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
786
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
787
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
788
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
789
+ end)
790
+
553
791
  api.add_operation(:update_db_instance, Seahorse::Model::Operation.new.tap do |o|
554
792
  o.name = "UpdateDbInstance"
555
793
  o.http_method = "POST"
@@ -10,40 +10,36 @@
10
10
  module Aws::TimestreamInfluxDB
11
11
  class EndpointProvider
12
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 Aws::Endpoints::Matchers.set?(endpoint)
18
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
13
+ if Aws::Endpoints::Matchers.set?(parameters.endpoint)
14
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
19
15
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
16
  end
21
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
17
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
22
18
  raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
19
  end
24
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
20
+ return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
25
21
  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)
22
+ if Aws::Endpoints::Matchers.set?(parameters.region)
23
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
24
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
29
25
  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://timestream-influxdb-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
26
+ return Aws::Endpoints::Endpoint.new(url: "https://timestream-influxdb-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
27
  end
32
28
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
29
  end
34
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
30
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
35
31
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
- return Aws::Endpoints::Endpoint.new(url: "https://timestream-influxdb-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
32
+ return Aws::Endpoints::Endpoint.new(url: "https://timestream-influxdb-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
33
  end
38
34
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
35
  end
40
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
36
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
41
37
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
- return Aws::Endpoints::Endpoint.new(url: "https://timestream-influxdb.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
38
+ return Aws::Endpoints::Endpoint.new(url: "https://timestream-influxdb.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
39
  end
44
40
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
45
41
  end
46
- return Aws::Endpoints::Endpoint.new(url: "https://timestream-influxdb.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
42
+ return Aws::Endpoints::Endpoint.new(url: "https://timestream-influxdb.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
47
43
  end
48
44
  end
49
45
  raise ArgumentError, "Invalid Configuration: Missing Region"