|
79 | 79 | "smithy.api#required": {} |
80 | 80 | } |
81 | 81 | }, |
| 82 | + "recoveryExecutionId": { |
| 83 | + "target": "smithy.api#String", |
| 84 | + "traits": { |
| 85 | + "smithy.api#documentation": "<p>The unique identifier of the most recent recovery execution. Required when starting a post-recovery execution.</p>" |
| 86 | + } |
| 87 | + }, |
82 | 88 | "actualRecoveryTime": { |
83 | 89 | "target": "com.amazonaws.arcregionswitch#Duration", |
84 | 90 | "traits": { |
|
1587 | 1593 | "regionToRun": { |
1588 | 1594 | "target": "com.amazonaws.arcregionswitch#RegionToRunIn", |
1589 | 1595 | "traits": { |
1590 | | - "smithy.api#documentation": "<p>The Amazon Web Services Region for the function to run in.</p>", |
| 1596 | + "smithy.api#documentation": "<p>The Amazon Web Services Region for the function to run in. For recovery workflows use <code>activatingRegion</code> or <code>deactivatingRegion</code>. For post-recovery workflows, use <code>activeRegion</code> (the Region with customer traffic) or <code>inactiveRegion</code> (the Region with no customer traffic).</p>", |
1591 | 1597 | "smithy.api#required": {} |
1592 | 1598 | } |
1593 | 1599 | }, |
|
2128 | 2134 | "traits": { |
2129 | 2135 | "smithy.api#enumValue": "deactivate" |
2130 | 2136 | } |
| 2137 | + }, |
| 2138 | + "POST_RECOVERY": { |
| 2139 | + "target": "smithy.api#Unit", |
| 2140 | + "traits": { |
| 2141 | + "smithy.api#enumValue": "postRecovery" |
| 2142 | + } |
2131 | 2143 | } |
2132 | 2144 | } |
2133 | 2145 | }, |
|
2221 | 2233 | }, |
2222 | 2234 | "documentDbConfig": { |
2223 | 2235 | "target": "com.amazonaws.arcregionswitch#DocumentDbConfiguration" |
| 2236 | + }, |
| 2237 | + "rdsPromoteReadReplicaConfig": { |
| 2238 | + "target": "com.amazonaws.arcregionswitch#RdsPromoteReadReplicaConfiguration", |
| 2239 | + "traits": { |
| 2240 | + "smithy.api#documentation": "<p>An Amazon RDS promote read replica execution block.</p>" |
| 2241 | + } |
| 2242 | + }, |
| 2243 | + "rdsCreateCrossRegionReadReplicaConfig": { |
| 2244 | + "target": "com.amazonaws.arcregionswitch#RdsCreateCrossRegionReplicaConfiguration", |
| 2245 | + "traits": { |
| 2246 | + "smithy.api#documentation": "<p>An Amazon RDS create cross-Region replica execution block.</p>" |
| 2247 | + } |
2224 | 2248 | } |
2225 | 2249 | }, |
2226 | 2250 | "traits": { |
|
2295 | 2319 | "traits": { |
2296 | 2320 | "smithy.api#enumValue": "DocumentDb" |
2297 | 2321 | } |
| 2322 | + }, |
| 2323 | + "RDS_PROMOTE_READ_REPLICA": { |
| 2324 | + "target": "smithy.api#Unit", |
| 2325 | + "traits": { |
| 2326 | + "smithy.api#enumValue": "RdsPromoteReadReplica" |
| 2327 | + } |
| 2328 | + }, |
| 2329 | + "RDS_CREATE_CROSS_REGION_REPLICA": { |
| 2330 | + "target": "smithy.api#Unit", |
| 2331 | + "traits": { |
| 2332 | + "smithy.api#enumValue": "RdsCreateCrossRegionReplica" |
| 2333 | + } |
2298 | 2334 | } |
2299 | 2335 | } |
2300 | 2336 | }, |
|
3073 | 3109 | "smithy.api#required": {} |
3074 | 3110 | } |
3075 | 3111 | }, |
| 3112 | + "recoveryExecutionId": { |
| 3113 | + "target": "smithy.api#String", |
| 3114 | + "traits": { |
| 3115 | + "smithy.api#documentation": "<p>The unique identifier of the most recent recovery execution. Required when starting a post-recovery execution.</p>" |
| 3116 | + } |
| 3117 | + }, |
3076 | 3118 | "stepStates": { |
3077 | 3119 | "target": "com.amazonaws.arcregionswitch#StepStates", |
3078 | 3120 | "traits": { |
|
4342 | 4384 | "target": "com.amazonaws.arcregionswitch#ResourceWarning" |
4343 | 4385 | } |
4344 | 4386 | }, |
| 4387 | + "com.amazonaws.arcregionswitch#RdsCreateCrossRegionReplicaConfiguration": { |
| 4388 | + "type": "structure", |
| 4389 | + "members": { |
| 4390 | + "timeoutMinutes": { |
| 4391 | + "target": "smithy.api#Integer", |
| 4392 | + "traits": { |
| 4393 | + "smithy.api#default": 60, |
| 4394 | + "smithy.api#documentation": "<p>The timeout value specified for the configuration.</p>", |
| 4395 | + "smithy.api#range": { |
| 4396 | + "min": 1 |
| 4397 | + } |
| 4398 | + } |
| 4399 | + }, |
| 4400 | + "crossAccountRole": { |
| 4401 | + "target": "com.amazonaws.arcregionswitch#IamRoleArn", |
| 4402 | + "traits": { |
| 4403 | + "smithy.api#documentation": "<p>The cross-account role for the configuration.</p>" |
| 4404 | + } |
| 4405 | + }, |
| 4406 | + "externalId": { |
| 4407 | + "target": "smithy.api#String", |
| 4408 | + "traits": { |
| 4409 | + "smithy.api#documentation": "<p>The external ID (secret key) for the configuration.</p>" |
| 4410 | + } |
| 4411 | + }, |
| 4412 | + "dbInstanceArnMap": { |
| 4413 | + "target": "com.amazonaws.arcregionswitch#RdsDbInstanceArnMap", |
| 4414 | + "traits": { |
| 4415 | + "smithy.api#documentation": "<p>A map of database instance ARNs for each Region in the plan.</p>", |
| 4416 | + "smithy.api#required": {} |
| 4417 | + } |
| 4418 | + } |
| 4419 | + }, |
| 4420 | + "traits": { |
| 4421 | + "smithy.api#documentation": "<p>Configuration for creating an Amazon RDS cross-Region read replica during post-recovery in a Region switch.</p>" |
| 4422 | + } |
| 4423 | + }, |
| 4424 | + "com.amazonaws.arcregionswitch#RdsDbInstanceArn": { |
| 4425 | + "type": "string", |
| 4426 | + "traits": { |
| 4427 | + "smithy.api#pattern": "^arn:aws[a-zA-Z-]*:rds:[a-z0-9-]+:\\d{12}:db:[a-zA-Z][a-zA-Z0-9]*(-[a-zA-Z0-9]+)*$" |
| 4428 | + } |
| 4429 | + }, |
| 4430 | + "com.amazonaws.arcregionswitch#RdsDbInstanceArnMap": { |
| 4431 | + "type": "map", |
| 4432 | + "key": { |
| 4433 | + "target": "com.amazonaws.arcregionswitch#Region" |
| 4434 | + }, |
| 4435 | + "value": { |
| 4436 | + "target": "com.amazonaws.arcregionswitch#RdsDbInstanceArn" |
| 4437 | + } |
| 4438 | + }, |
| 4439 | + "com.amazonaws.arcregionswitch#RdsPromoteReadReplicaConfiguration": { |
| 4440 | + "type": "structure", |
| 4441 | + "members": { |
| 4442 | + "timeoutMinutes": { |
| 4443 | + "target": "smithy.api#Integer", |
| 4444 | + "traits": { |
| 4445 | + "smithy.api#default": 60, |
| 4446 | + "smithy.api#documentation": "<p>The timeout value specified for the configuration.</p>", |
| 4447 | + "smithy.api#range": { |
| 4448 | + "min": 1 |
| 4449 | + } |
| 4450 | + } |
| 4451 | + }, |
| 4452 | + "crossAccountRole": { |
| 4453 | + "target": "com.amazonaws.arcregionswitch#IamRoleArn", |
| 4454 | + "traits": { |
| 4455 | + "smithy.api#documentation": "<p>The cross-account role for the configuration.</p>" |
| 4456 | + } |
| 4457 | + }, |
| 4458 | + "externalId": { |
| 4459 | + "target": "smithy.api#String", |
| 4460 | + "traits": { |
| 4461 | + "smithy.api#documentation": "<p>The external ID (secret key) for the configuration.</p>" |
| 4462 | + } |
| 4463 | + }, |
| 4464 | + "dbInstanceArnMap": { |
| 4465 | + "target": "com.amazonaws.arcregionswitch#RdsDbInstanceArnMap", |
| 4466 | + "traits": { |
| 4467 | + "smithy.api#documentation": "<p>A map of database instance ARNs for each Region in the plan.</p>", |
| 4468 | + "smithy.api#required": {} |
| 4469 | + } |
| 4470 | + } |
| 4471 | + }, |
| 4472 | + "traits": { |
| 4473 | + "smithy.api#documentation": "<p>Configuration for promoting an Amazon RDS read replica to a standalone database instance during a Region switch.</p>" |
| 4474 | + } |
| 4475 | + }, |
4345 | 4476 | "com.amazonaws.arcregionswitch#RecoveryApproach": { |
4346 | 4477 | "type": "enum", |
4347 | 4478 | "members": { |
|
4359 | 4490 | } |
4360 | 4491 | } |
4361 | 4492 | }, |
| 4493 | + "com.amazonaws.arcregionswitch#RecoveryExecutionId": { |
| 4494 | + "type": "string", |
| 4495 | + "traits": { |
| 4496 | + "smithy.api#pattern": "^[a-z]{2}(-[a-z]+)+-[0-9]+/[0-9a-fA-F]{16}$" |
| 4497 | + } |
| 4498 | + }, |
4362 | 4499 | "com.amazonaws.arcregionswitch#Region": { |
4363 | 4500 | "type": "string", |
4364 | 4501 | "traits": { |
|
4480 | 4617 | "traits": { |
4481 | 4618 | "smithy.api#enumValue": "deactivatingRegion" |
4482 | 4619 | } |
| 4620 | + }, |
| 4621 | + "ACTIVE_REGION": { |
| 4622 | + "target": "smithy.api#Unit", |
| 4623 | + "traits": { |
| 4624 | + "smithy.api#enumValue": "activeRegion" |
| 4625 | + } |
| 4626 | + }, |
| 4627 | + "INACTIVE_REGION": { |
| 4628 | + "target": "smithy.api#Unit", |
| 4629 | + "traits": { |
| 4630 | + "smithy.api#enumValue": "inactiveRegion" |
| 4631 | + } |
4483 | 4632 | } |
4484 | 4633 | } |
4485 | 4634 | }, |
|
5007 | 5156 | "traits": { |
5008 | 5157 | "smithy.api#documentation": "<p>A boolean value indicating whether to use the latest version of the plan. If set to false, you must specify a specific version.</p>" |
5009 | 5158 | } |
| 5159 | + }, |
| 5160 | + "recoveryExecutionId": { |
| 5161 | + "target": "com.amazonaws.arcregionswitch#RecoveryExecutionId", |
| 5162 | + "traits": { |
| 5163 | + "smithy.api#documentation": "<p>The execution identifier of the recovery execution that ran in the opposite region post-recovery is ran in. Required when starting a post-recovery execution.</p>" |
| 5164 | + } |
5010 | 5165 | } |
5011 | 5166 | }, |
5012 | 5167 | "traits": { |
|
5787 | 5942 | "traits": { |
5788 | 5943 | "smithy.api#enumValue": "deactivate" |
5789 | 5944 | } |
| 5945 | + }, |
| 5946 | + "POST_RECOVERY": { |
| 5947 | + "target": "smithy.api#Unit", |
| 5948 | + "traits": { |
| 5949 | + "smithy.api#enumValue": "postRecovery" |
| 5950 | + } |
5790 | 5951 | } |
5791 | 5952 | } |
5792 | 5953 | } |
|
0 commit comments