Skip to content

Commit d32def6

Browse files
author
AWS
committed
Timestream InfluxDB Update: Timestream for InfluxDB adds support for customer defined maintenance windows. This allows customers to define maintenance schedule during resource creation and updates
1 parent 2669dc9 commit d32def6

2 files changed

Lines changed: 154 additions & 2 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Timestream InfluxDB",
4+
"contributor": "",
5+
"description": "Timestream for InfluxDB adds support for customer defined maintenance windows. This allows customers to define maintenance schedule during resource creation and updates"
6+
}

services/timestreaminfluxdb/src/main/resources/codegen-resources/service-2.json

Lines changed: 148 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,24 @@
381381
"min":2,
382382
"pattern":"[^_\"][^\"]*"
383383
},
384+
"ClusterConfiguration":{
385+
"type":"structure",
386+
"members":{
387+
"ingestQueryInstances":{
388+
"shape":"Integer",
389+
"documentation":"<p>The number of instances in the DbCluster which can both ingest and query.</p>"
390+
},
391+
"queryOnlyInstances":{
392+
"shape":"Integer",
393+
"documentation":"<p>The number of instances in the DbCluster which can only query.</p>"
394+
},
395+
"dedicatedCompactor":{
396+
"shape":"Boolean",
397+
"documentation":"<p>Indicates if the compactor instance is a standalone instance or not.</p>"
398+
}
399+
},
400+
"documentation":"<p>Configuration for node modes in the DbCluster.</p>"
401+
},
384402
"ClusterDeploymentType":{
385403
"type":"string",
386404
"enum":["MULTI_NODE_READ_REPLICAS"]
@@ -499,6 +517,10 @@
499517
"shape":"LogDeliveryConfiguration",
500518
"documentation":"<p>Configuration for sending InfluxDB engine logs to a specified S3 bucket.</p>"
501519
},
520+
"maintenanceSchedule":{
521+
"shape":"MaintenanceSchedule",
522+
"documentation":"<p>Specifies the maintenance schedule for the DB cluster, including the preferred maintenance window and timezone.</p>"
523+
},
502524
"tags":{
503525
"shape":"RequestTagMap",
504526
"documentation":"<p>A list of key-value pairs to associate with the DB instance.</p>"
@@ -585,6 +607,10 @@
585607
"shape":"LogDeliveryConfiguration",
586608
"documentation":"<p>Configuration for sending InfluxDB engine logs to a specified S3 bucket.</p>"
587609
},
610+
"maintenanceSchedule":{
611+
"shape":"MaintenanceSchedule",
612+
"documentation":"<p>Specifies the maintenance schedule for the DB instance, including the preferred maintenance window and timezone.</p>"
613+
},
588614
"tags":{
589615
"shape":"RequestTagMap",
590616
"documentation":"<p>A list of key-value pairs to associate with the DB instance.</p>"
@@ -695,6 +721,18 @@
695721
"instanceModes":{
696722
"shape":"InstanceModeList",
697723
"documentation":"<p>Specifies the DbInstance's roles in the cluster.</p>"
724+
},
725+
"maintenanceSchedule":{
726+
"shape":"MaintenanceSchedule",
727+
"documentation":"<p>The maintenance schedule for the DB instance.</p>"
728+
},
729+
"lastMaintenanceTime":{
730+
"shape":"SyntheticTimestamp_date_time",
731+
"documentation":"<p>The timestamp of the last completed maintenance operation on the DB instance.</p>"
732+
},
733+
"nextMaintenanceTime":{
734+
"shape":"SyntheticTimestamp_date_time",
735+
"documentation":"<p>The timestamp of the next scheduled maintenance operation on the DB instance.</p>"
698736
}
699737
}
700738
},
@@ -1181,6 +1219,18 @@
11811219
"instanceModes":{
11821220
"shape":"InstanceModeList",
11831221
"documentation":"<p>Specifies the DbInstance's roles in the cluster.</p>"
1222+
},
1223+
"maintenanceSchedule":{
1224+
"shape":"MaintenanceSchedule",
1225+
"documentation":"<p>The maintenance schedule for the DB instance.</p>"
1226+
},
1227+
"lastMaintenanceTime":{
1228+
"shape":"SyntheticTimestamp_date_time",
1229+
"documentation":"<p>The timestamp of the last completed maintenance operation on the DB instance.</p>"
1230+
},
1231+
"nextMaintenanceTime":{
1232+
"shape":"SyntheticTimestamp_date_time",
1233+
"documentation":"<p>The timestamp of the next scheduled maintenance operation on the DB instance.</p>"
11841234
}
11851235
}
11861236
},
@@ -1321,6 +1371,18 @@
13211371
"shape":"LogDeliveryConfiguration",
13221372
"documentation":"<p>Configuration for sending InfluxDB engine logs to send to specified S3 bucket.</p>"
13231373
},
1374+
"maintenanceSchedule":{
1375+
"shape":"MaintenanceSchedule",
1376+
"documentation":"<p>The maintenance schedule for the DB cluster.</p>"
1377+
},
1378+
"lastMaintenanceTime":{
1379+
"shape":"SyntheticTimestamp_date_time",
1380+
"documentation":"<p>The timestamp of the last completed maintenance operation on the DB cluster.</p>"
1381+
},
1382+
"nextMaintenanceTime":{
1383+
"shape":"SyntheticTimestamp_date_time",
1384+
"documentation":"<p>The timestamp of the next scheduled maintenance operation on the DB cluster.</p>"
1385+
},
13241386
"influxAuthParametersSecretArn":{
13251387
"shape":"String",
13261388
"documentation":"<p>The Amazon Resource Name (ARN) of the Secrets Manager secret containing the initial InfluxDB authorization parameters. The secret value is a JSON formatted key-value pair holding InfluxDB authorization values: organization, bucket, username, and password.</p>"
@@ -1336,6 +1398,10 @@
13361398
"failoverMode":{
13371399
"shape":"FailoverMode",
13381400
"documentation":"<p>The configured failover mode for the DB cluster.</p>"
1401+
},
1402+
"clusterConfiguration":{
1403+
"shape":"ClusterConfiguration",
1404+
"documentation":"<p>Configuration for node modes in the DbCluster.</p>"
13391405
}
13401406
}
13411407
},
@@ -1445,6 +1511,18 @@
14451511
"instanceModes":{
14461512
"shape":"InstanceModeList",
14471513
"documentation":"<p>Specifies the DbInstance's roles in the cluster.</p>"
1514+
},
1515+
"maintenanceSchedule":{
1516+
"shape":"MaintenanceSchedule",
1517+
"documentation":"<p>The maintenance schedule for the DB instance.</p>"
1518+
},
1519+
"lastMaintenanceTime":{
1520+
"shape":"SyntheticTimestamp_date_time",
1521+
"documentation":"<p>The timestamp of the last completed maintenance operation on the DB instance.</p>"
1522+
},
1523+
"nextMaintenanceTime":{
1524+
"shape":"SyntheticTimestamp_date_time",
1525+
"documentation":"<p>The timestamp of the next scheduled maintenance operation on the DB instance.</p>"
14481526
}
14491527
}
14501528
},
@@ -1488,6 +1566,13 @@
14881566
}
14891567
}
14901568
},
1569+
"IanaTimezone":{
1570+
"type":"string",
1571+
"documentation":"<p>IANA timezone identifier.</p> <p>Format: Region/City or UTC See: https://www.iana.org/time-zones</p>",
1572+
"max":64,
1573+
"min":1,
1574+
"pattern":"(UTC|[A-Za-z_]+/[A-Za-z0-9_]+(/[A-Za-z0-9_]+)?)"
1575+
},
14911576
"InfluxDBv2Parameters":{
14921577
"type":"structure",
14931578
"members":{
@@ -1896,7 +1981,7 @@
18961981
},
18971982
"InfluxDBv3CoreParametersDataFusionConfigString":{
18981983
"type":"string",
1899-
"pattern":"[a-zA-Z0-9_]+=[^,\\s]+(?:,[a-zA-Z0-9_]+=[^,\\s]+)*"
1984+
"pattern":"[a-zA-Z0-9_.]+:[^,\\s]+(?:,[a-zA-Z0-9_.]+:[^,\\s]+)*"
19001985
},
19011986
"InfluxDBv3CoreParametersDataFusionMaxParquetFanoutInteger":{
19021987
"type":"integer",
@@ -2244,7 +2329,7 @@
22442329
},
22452330
"InfluxDBv3EnterpriseParametersDataFusionConfigString":{
22462331
"type":"string",
2247-
"pattern":"[a-zA-Z0-9_]+=[^,\\s]+(?:,[a-zA-Z0-9_]+=[^,\\s]+)*"
2332+
"pattern":"[a-zA-Z0-9_.]+:[^,\\s]+(?:,[a-zA-Z0-9_.]+:[^,\\s]+)*"
22482333
},
22492334
"InfluxDBv3EnterpriseParametersDataFusionMaxParquetFanoutInteger":{
22502335
"type":"integer",
@@ -2551,6 +2636,31 @@
25512636
"error"
25522637
]
25532638
},
2639+
"MaintenanceSchedule":{
2640+
"type":"structure",
2641+
"required":[
2642+
"timezone",
2643+
"preferredMaintenanceWindow"
2644+
],
2645+
"members":{
2646+
"timezone":{
2647+
"shape":"IanaTimezone",
2648+
"documentation":"<p>The IANA timezone identifier for the maintenance window. Format: Region/City or UTC. For example, America/New_York or UTC.</p>"
2649+
},
2650+
"preferredMaintenanceWindow":{
2651+
"shape":"MaintenanceWindow",
2652+
"documentation":"<p>The preferred maintenance window in the format ddd:HH:MM-ddd:HH:MM (UTC). Day must be one of: Mon, Tue, Wed, Thu, Fri, Sat, Sun. For example, Sun:02:00-Sun:06:00. Provide an empty string to let the system choose a window.</p>"
2653+
}
2654+
},
2655+
"documentation":"<p>Specifies the maintenance schedule for a DB instance or cluster, defining when maintenance operations such as patching can be performed.</p>"
2656+
},
2657+
"MaintenanceWindow":{
2658+
"type":"string",
2659+
"documentation":"<p>Preferred maintenance window in format &quot;ddd:HH:MM-ddd:HH:MM&quot;</p> <p>Format requirements:</p> <ul> <li>Day: Mon, Tue, Wed, Thu, Fri, Sat, Sun</li> <li>Hour: 00-23 (24-hour format, 2 digits)</li> <li>Minute: 00-59 (2 digits)</li> </ul> <p>Provide empty string to let the system choose a window.</p> <p>Examples:</p> <ul> <li>&quot;Sun:02:00-Sun:06:00&quot; (4-hour window Sunday morning)</li> <li>&quot;Sat:23:00-Sun:03:00&quot; (cross-midnight window)</li> <li>&quot;&quot; or (system chooses)</li> </ul>",
2660+
"max":19,
2661+
"min":0,
2662+
"pattern":"$|^(Mon|Tue|Wed|Thu|Fri|Sat|Sun):([01]\\d|2[0-3]):[0-5]\\d-(Mon|Tue|Wed|Thu|Fri|Sat|Sun):([01]\\d|2[0-3]):[0-5]\\d"
2663+
},
25542664
"MaxResults":{
25552665
"type":"integer",
25562666
"box":true,
@@ -2767,6 +2877,18 @@
27672877
"instanceModes":{
27682878
"shape":"InstanceModeList",
27692879
"documentation":"<p>Specifies the DbInstance's roles in the cluster.</p>"
2880+
},
2881+
"maintenanceSchedule":{
2882+
"shape":"MaintenanceSchedule",
2883+
"documentation":"<p>The maintenance schedule for the DB instance.</p>"
2884+
},
2885+
"lastMaintenanceTime":{
2886+
"shape":"SyntheticTimestamp_date_time",
2887+
"documentation":"<p>The timestamp of the last completed maintenance operation on the DB instance.</p>"
2888+
},
2889+
"nextMaintenanceTime":{
2890+
"shape":"SyntheticTimestamp_date_time",
2891+
"documentation":"<p>The timestamp of the next scheduled maintenance operation on the DB instance.</p>"
27702892
}
27712893
}
27722894
},
@@ -2856,6 +2978,10 @@
28562978
]
28572979
},
28582980
"String":{"type":"string"},
2981+
"SyntheticTimestamp_date_time":{
2982+
"type":"timestamp",
2983+
"timestampFormat":"iso8601"
2984+
},
28592985
"TagKey":{
28602986
"type":"string",
28612987
"max":128,
@@ -2955,6 +3081,10 @@
29553081
"failoverMode":{
29563082
"shape":"FailoverMode",
29573083
"documentation":"<p>Update the DB cluster's failover behavior.</p>"
3084+
},
3085+
"maintenanceSchedule":{
3086+
"shape":"MaintenanceSchedule",
3087+
"documentation":"<p>Specifies the maintenance schedule for the DB cluster, including the preferred maintenance window and timezone.</p>"
29583088
}
29593089
}
29603090
},
@@ -3002,6 +3132,10 @@
30023132
"allocatedStorage":{
30033133
"shape":"AllocatedStorage",
30043134
"documentation":"<p>The amount of storage to allocate for your DB storage type (in gibibytes).</p>"
3135+
},
3136+
"maintenanceSchedule":{
3137+
"shape":"MaintenanceSchedule",
3138+
"documentation":"<p>Specifies the maintenance schedule for the DB instance, including the preferred maintenance window and timezone.</p>"
30053139
}
30063140
}
30073141
},
@@ -3101,6 +3235,18 @@
31013235
"instanceModes":{
31023236
"shape":"InstanceModeList",
31033237
"documentation":"<p>Specifies the DbInstance's roles in the cluster.</p>"
3238+
},
3239+
"maintenanceSchedule":{
3240+
"shape":"MaintenanceSchedule",
3241+
"documentation":"<p>The maintenance schedule for the DB instance.</p>"
3242+
},
3243+
"lastMaintenanceTime":{
3244+
"shape":"SyntheticTimestamp_date_time",
3245+
"documentation":"<p>The timestamp of the last completed maintenance operation on the DB instance.</p>"
3246+
},
3247+
"nextMaintenanceTime":{
3248+
"shape":"SyntheticTimestamp_date_time",
3249+
"documentation":"<p>The timestamp of the next scheduled maintenance operation on the DB instance.</p>"
31043250
}
31053251
}
31063252
},

0 commit comments

Comments
 (0)