|
728 | 728 | "shape":"TriggerList", |
729 | 729 | "documentation":"<p>The triggers associated with a Region switch plan.</p>" |
730 | 730 | }, |
| 731 | + "reportConfiguration":{"shape":"ReportConfiguration"}, |
731 | 732 | "name":{ |
732 | 733 | "shape":"PlanName", |
733 | 734 | "documentation":"<p>The name of a Region switch plan.</p>" |
|
815 | 816 | "type":"structure", |
816 | 817 | "members":{} |
817 | 818 | }, |
| 819 | + "DocumentDbClusterArn":{ |
| 820 | + "type":"string", |
| 821 | + "pattern":"arn:aws[a-zA-Z-]*:rds:[a-z0-9-]+:\\d{12}:cluster:[a-zA-Z0-9][a-zA-Z0-9-_]{0,99}" |
| 822 | + }, |
| 823 | + "DocumentDbClusterArns":{ |
| 824 | + "type":"list", |
| 825 | + "member":{"shape":"DocumentDbClusterArn"} |
| 826 | + }, |
| 827 | + "DocumentDbConfiguration":{ |
| 828 | + "type":"structure", |
| 829 | + "required":[ |
| 830 | + "behavior", |
| 831 | + "globalClusterIdentifier", |
| 832 | + "databaseClusterArns" |
| 833 | + ], |
| 834 | + "members":{ |
| 835 | + "timeoutMinutes":{ |
| 836 | + "shape":"DocumentDbConfigurationTimeoutMinutesInteger", |
| 837 | + "documentation":"<p>The timeout value specified for the configuration.</p>" |
| 838 | + }, |
| 839 | + "crossAccountRole":{ |
| 840 | + "shape":"IamRoleArn", |
| 841 | + "documentation":"<p>The cross account role for the configuration.</p>" |
| 842 | + }, |
| 843 | + "externalId":{ |
| 844 | + "shape":"String", |
| 845 | + "documentation":"<p>The external ID (secret key) for the configuration.</p>" |
| 846 | + }, |
| 847 | + "behavior":{ |
| 848 | + "shape":"DocumentDbDefaultBehavior", |
| 849 | + "documentation":"<p>The behavior for a global cluster, that is, only allow switchover or also allow failover.</p>" |
| 850 | + }, |
| 851 | + "ungraceful":{ |
| 852 | + "shape":"DocumentDbUngraceful", |
| 853 | + "documentation":"<p>The settings for ungraceful execution.</p>" |
| 854 | + }, |
| 855 | + "globalClusterIdentifier":{ |
| 856 | + "shape":"DocumentDbGlobalClusterIdentifier", |
| 857 | + "documentation":"<p>The global cluster identifier for a DocumentDB global cluster.</p>" |
| 858 | + }, |
| 859 | + "databaseClusterArns":{ |
| 860 | + "shape":"DocumentDbClusterArns", |
| 861 | + "documentation":"<p>The database cluster Amazon Resource Names (ARNs) for a DocumentDB global cluster.</p>" |
| 862 | + } |
| 863 | + }, |
| 864 | + "documentation":"<p>Configuration for Amazon DocumentDB global clusters used in a Region switch plan.</p>" |
| 865 | + }, |
| 866 | + "DocumentDbConfigurationTimeoutMinutesInteger":{ |
| 867 | + "type":"integer", |
| 868 | + "box":true, |
| 869 | + "min":1 |
| 870 | + }, |
| 871 | + "DocumentDbDefaultBehavior":{ |
| 872 | + "type":"string", |
| 873 | + "enum":[ |
| 874 | + "switchoverOnly", |
| 875 | + "failover" |
| 876 | + ] |
| 877 | + }, |
| 878 | + "DocumentDbGlobalClusterIdentifier":{ |
| 879 | + "type":"string", |
| 880 | + "pattern":"[A-Za-z][0-9A-Za-z-:._]*" |
| 881 | + }, |
| 882 | + "DocumentDbUngraceful":{ |
| 883 | + "type":"structure", |
| 884 | + "members":{ |
| 885 | + "ungraceful":{ |
| 886 | + "shape":"DocumentDbUngracefulBehavior", |
| 887 | + "documentation":"<p>The settings for ungraceful execution.</p>" |
| 888 | + } |
| 889 | + }, |
| 890 | + "documentation":"<p>Configuration for handling failures when performing operations on DocumentDB global clusters.</p>" |
| 891 | + }, |
| 892 | + "DocumentDbUngracefulBehavior":{ |
| 893 | + "type":"string", |
| 894 | + "enum":["failover"] |
| 895 | + }, |
818 | 896 | "Duration":{ |
819 | 897 | "type":"string", |
820 | 898 | "pattern":"P(?!$)(\\d+Y)?(\\d+M)?(\\d+D)?(T(?=\\d)(\\d+H)?(\\d+M)?(\\d+S)?)?" |
|
1111 | 1189 | "route53HealthCheckConfig":{ |
1112 | 1190 | "shape":"Route53HealthCheckConfiguration", |
1113 | 1191 | "documentation":"<p>The Amazon Route 53 health check configuration.</p>" |
1114 | | - } |
| 1192 | + }, |
| 1193 | + "documentDbConfig":{"shape":"DocumentDbConfiguration"} |
1115 | 1194 | }, |
1116 | 1195 | "documentation":"<p>Execution block configurations for a workflow in a Region switch plan. An execution block represents a specific type of action to perform during a Region switch.</p>", |
1117 | 1196 | "union":true |
|
1128 | 1207 | "Parallel", |
1129 | 1208 | "ECSServiceScaling", |
1130 | 1209 | "EKSResourceScaling", |
1131 | | - "Route53HealthCheck" |
| 1210 | + "Route53HealthCheck", |
| 1211 | + "DocumentDb" |
1132 | 1212 | ] |
1133 | 1213 | }, |
1134 | 1214 | "ExecutionComment":{ |
|
1210 | 1290 | "stepCanceled", |
1211 | 1291 | "stepPendingApproval", |
1212 | 1292 | "stepExecutionBehaviorChangedToUngraceful", |
1213 | | - "stepPendingApplicationHealthMonitor" |
| 1293 | + "stepPendingApplicationHealthMonitor", |
| 1294 | + "planEvaluationWarning" |
1214 | 1295 | ] |
1215 | 1296 | }, |
1216 | 1297 | "ExecutionId":{"type":"string"}, |
|
1237 | 1318 | "completedMonitoringApplicationHealth" |
1238 | 1319 | ] |
1239 | 1320 | }, |
| 1321 | + "FailedReportErrorCode":{ |
| 1322 | + "type":"string", |
| 1323 | + "enum":[ |
| 1324 | + "insufficientPermissions", |
| 1325 | + "invalidResource", |
| 1326 | + "configurationError" |
| 1327 | + ] |
| 1328 | + }, |
| 1329 | + "FailedReportOutput":{ |
| 1330 | + "type":"structure", |
| 1331 | + "members":{ |
| 1332 | + "errorCode":{ |
| 1333 | + "shape":"FailedReportErrorCode", |
| 1334 | + "documentation":"<p>The error code for the failed report generation.</p>" |
| 1335 | + }, |
| 1336 | + "errorMessage":{ |
| 1337 | + "shape":"String", |
| 1338 | + "documentation":"<p>The error message for the failed report generation.</p>" |
| 1339 | + } |
| 1340 | + }, |
| 1341 | + "documentation":"<p>Information about a report generation that failed.</p>" |
| 1342 | + }, |
1240 | 1343 | "Float":{ |
1241 | 1344 | "type":"float", |
1242 | 1345 | "box":true |
1243 | 1346 | }, |
| 1347 | + "GeneratedReport":{ |
| 1348 | + "type":"structure", |
| 1349 | + "members":{ |
| 1350 | + "reportGenerationTime":{ |
| 1351 | + "shape":"Timestamp", |
| 1352 | + "documentation":"<p>The timestamp when the report was generated.</p>" |
| 1353 | + }, |
| 1354 | + "reportOutput":{ |
| 1355 | + "shape":"ReportOutput", |
| 1356 | + "documentation":"<p>The output location or cause of a failure in report generation.</p>" |
| 1357 | + } |
| 1358 | + }, |
| 1359 | + "documentation":"<p>Information about a generated execution report.</p>" |
| 1360 | + }, |
| 1361 | + "GeneratedReportDetails":{ |
| 1362 | + "type":"list", |
| 1363 | + "member":{"shape":"GeneratedReport"}, |
| 1364 | + "max":1, |
| 1365 | + "min":0 |
| 1366 | + }, |
1244 | 1367 | "GetPlanEvaluationStatusRequest":{ |
1245 | 1368 | "type":"structure", |
1246 | 1369 | "required":["planArn"], |
|
1386 | 1509 | "shape":"Duration", |
1387 | 1510 | "documentation":"<p>The actual recovery time that Region switch calculates for a plan execution. Actual recovery time includes the time for the plan to run added to the time elapsed until the application health alarms that you've specified are healthy again.</p>" |
1388 | 1511 | }, |
| 1512 | + "generatedReportDetails":{ |
| 1513 | + "shape":"GeneratedReportDetails", |
| 1514 | + "documentation":"<p>Information about the location of a generated report, or the cause of its failure.</p>" |
| 1515 | + }, |
1389 | 1516 | "nextToken":{ |
1390 | 1517 | "shape":"String", |
1391 | 1518 | "documentation":"<p>Specifies that you want to receive the next page of results. Valid only if you received a <code>nextToken</code> response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's <code>nextToken</code> response to request the next page of results.</p>" |
|
1966 | 2093 | "shape":"TriggerList", |
1967 | 2094 | "documentation":"<p>The triggers for a plan.</p>" |
1968 | 2095 | }, |
| 2096 | + "reportConfiguration":{ |
| 2097 | + "shape":"ReportConfiguration", |
| 2098 | + "documentation":"<p>The report configuration for a plan.</p>" |
| 2099 | + }, |
1969 | 2100 | "name":{ |
1970 | 2101 | "shape":"PlanName", |
1971 | 2102 | "documentation":"<p>The name for a plan.</p>" |
|
2074 | 2205 | "key":{"shape":"Region"}, |
2075 | 2206 | "value":{"shape":"KubernetesScalingResource"} |
2076 | 2207 | }, |
| 2208 | + "ReportConfiguration":{ |
| 2209 | + "type":"structure", |
| 2210 | + "members":{ |
| 2211 | + "reportOutput":{ |
| 2212 | + "shape":"ReportOutputList", |
| 2213 | + "documentation":"<p>The output configuration for the report.</p>" |
| 2214 | + } |
| 2215 | + }, |
| 2216 | + "documentation":"<p>Configuration for automatic report generation for plan executions. When configured, Region switch automatically generates a report after each plan execution that includes execution events, plan configuration, and CloudWatch alarm states.</p>" |
| 2217 | + }, |
| 2218 | + "ReportOutput":{ |
| 2219 | + "type":"structure", |
| 2220 | + "members":{ |
| 2221 | + "s3ReportOutput":{ |
| 2222 | + "shape":"S3ReportOutput", |
| 2223 | + "documentation":"<p>Information about a report delivered to Amazon S3.</p>" |
| 2224 | + }, |
| 2225 | + "failedReportOutput":{ |
| 2226 | + "shape":"FailedReportOutput", |
| 2227 | + "documentation":"<p>The details about a failed report generation.</p>" |
| 2228 | + } |
| 2229 | + }, |
| 2230 | + "documentation":"<p>The output location or cause of a failure in report generation.</p>", |
| 2231 | + "union":true |
| 2232 | + }, |
| 2233 | + "ReportOutputConfiguration":{ |
| 2234 | + "type":"structure", |
| 2235 | + "members":{ |
| 2236 | + "s3Configuration":{ |
| 2237 | + "shape":"S3ReportOutputConfiguration", |
| 2238 | + "documentation":"<p>Configuration for delivering reports to an Amazon S3 bucket.</p>" |
| 2239 | + } |
| 2240 | + }, |
| 2241 | + "documentation":"<p>Configuration for report output destinations used in a Region switch plan.</p>", |
| 2242 | + "union":true |
| 2243 | + }, |
| 2244 | + "ReportOutputList":{ |
| 2245 | + "type":"list", |
| 2246 | + "member":{"shape":"ReportOutputConfiguration"}, |
| 2247 | + "max":1, |
| 2248 | + "min":1 |
| 2249 | + }, |
2077 | 2250 | "ResourceArn":{"type":"string"}, |
2078 | 2251 | "ResourceNotFoundException":{ |
2079 | 2252 | "type":"structure", |
|
2268 | 2441 | "Off" |
2269 | 2442 | ] |
2270 | 2443 | }, |
| 2444 | + "S3ReportOutput":{ |
| 2445 | + "type":"structure", |
| 2446 | + "members":{ |
| 2447 | + "s3ObjectKey":{ |
| 2448 | + "shape":"String", |
| 2449 | + "documentation":"<p>The S3 object key where the generated report is stored.</p>" |
| 2450 | + } |
| 2451 | + }, |
| 2452 | + "documentation":"<p>Information about a report delivered to Amazon S3.</p>" |
| 2453 | + }, |
| 2454 | + "S3ReportOutputConfiguration":{ |
| 2455 | + "type":"structure", |
| 2456 | + "members":{ |
| 2457 | + "bucketPath":{ |
| 2458 | + "shape":"S3ReportOutputConfigurationBucketPathString", |
| 2459 | + "documentation":"<p>The S3 bucket name and optional prefix where reports are stored. Format: bucket-name or bucket-name/prefix.</p>" |
| 2460 | + }, |
| 2461 | + "bucketOwner":{ |
| 2462 | + "shape":"AccountId", |
| 2463 | + "documentation":"<p>The Amazon Web Services account ID that owns the S3 bucket. Required to ensure the bucket is still owned by the same expected owner at generation time.</p>" |
| 2464 | + } |
| 2465 | + }, |
| 2466 | + "documentation":"<p>Configuration for delivering generated reports to an Amazon S3 bucket.</p>" |
| 2467 | + }, |
| 2468 | + "S3ReportOutputConfigurationBucketPathString":{ |
| 2469 | + "type":"string", |
| 2470 | + "max":512, |
| 2471 | + "min":3, |
| 2472 | + "pattern":"(?:s3://)?[a-z0-9][a-z0-9-]{1,61}[a-z0-9](?:/[^/ ][^/]*)*/?" |
| 2473 | + }, |
2271 | 2474 | "Service":{ |
2272 | 2475 | "type":"structure", |
2273 | 2476 | "members":{ |
|
2673 | 2876 | "triggers":{ |
2674 | 2877 | "shape":"TriggerList", |
2675 | 2878 | "documentation":"<p>The updated conditions that can automatically trigger the execution of the plan.</p>" |
| 2879 | + }, |
| 2880 | + "reportConfiguration":{ |
| 2881 | + "shape":"ReportConfiguration", |
| 2882 | + "documentation":"<p>The updated report configuration for the plan.</p>" |
2676 | 2883 | } |
2677 | 2884 | } |
2678 | 2885 | }, |
|
0 commit comments