|
54 | 54 | "mode": { |
55 | 55 | "target": "com.amazonaws.arcregionswitch#ExecutionMode", |
56 | 56 | "traits": { |
57 | | - "smithy.api#documentation": "<p>The plan execution mode. Valid values are <code>Practice</code>, for testing without making actual changes, or <code>Recovery</code>, for actual traffic shifting and application recovery.</p>", |
| 57 | + "smithy.api#documentation": "<p>The plan execution mode. Valid values are <code>graceful</code>, for graceful executions, or <code>ungraceful</code>, for ungraceful executions.</p>", |
58 | 58 | "smithy.api#required": {} |
59 | 59 | } |
60 | 60 | }, |
|
68 | 68 | "executionAction": { |
69 | 69 | "target": "com.amazonaws.arcregionswitch#ExecutionAction", |
70 | 70 | "traits": { |
71 | | - "smithy.api#documentation": "<p>The plan execution action. Valid values are <code>Activate</code>, to activate an Amazon Web Services Region, or <code>Deactivate</code>, to deactivate a Region.</p>", |
| 71 | + "smithy.api#documentation": "<p>The plan execution action. Valid values are <code>activate</code>, to activate an Amazon Web Services Region, or <code>deactivate</code>, to deactivate a Region.</p>", |
72 | 72 | "smithy.api#required": {} |
73 | 73 | } |
74 | 74 | }, |
|
1351 | 1351 | } |
1352 | 1352 | }, |
1353 | 1353 | "com.amazonaws.arcregionswitch#AuroraClusterArn": { |
1354 | | - "type": "string" |
| 1354 | + "type": "string", |
| 1355 | + "traits": { |
| 1356 | + "smithy.api#pattern": "^arn:aws[a-zA-Z-]*:rds:[a-z0-9-]+:\\d{12}:cluster:[A-Za-z][0-9A-Za-z-:._]*$" |
| 1357 | + } |
1355 | 1358 | }, |
1356 | 1359 | "com.amazonaws.arcregionswitch#AuroraClusterArns": { |
1357 | 1360 | "type": "list", |
|
3045 | 3048 | "mode": { |
3046 | 3049 | "target": "com.amazonaws.arcregionswitch#ExecutionMode", |
3047 | 3050 | "traits": { |
3048 | | - "smithy.api#documentation": "<p>The plan execution mode. Valid values are <code>Practice</code>, for testing without making actual changes, or <code>Recovery</code>, for actual traffic shifting and application recovery.</p>", |
| 3051 | + "smithy.api#documentation": "<p>The plan execution mode. Valid values are <code>graceful</code>, for graceful executions, or <code>ungraceful</code>, for ungraceful executions.</p>", |
3049 | 3052 | "smithy.api#required": {} |
3050 | 3053 | } |
3051 | 3054 | }, |
|
3059 | 3062 | "executionAction": { |
3060 | 3063 | "target": "com.amazonaws.arcregionswitch#ExecutionAction", |
3061 | 3064 | "traits": { |
3062 | | - "smithy.api#documentation": "<p>The plan execution action. Valid values are <code>Activate</code>, to activate an Amazon Web Services Region, or <code>Deactivate</code>, to deactivate a Region.</p>", |
| 3065 | + "smithy.api#documentation": "<p>The plan execution action. Valid values are <code>activate</code>, to activate an Amazon Web Services Region, or <code>deactivate</code>, to deactivate a Region.</p>", |
3063 | 3066 | "smithy.api#required": {} |
3064 | 3067 | } |
3065 | 3068 | }, |
|
3298 | 3301 | } |
3299 | 3302 | }, |
3300 | 3303 | "com.amazonaws.arcregionswitch#GlobalClusterIdentifier": { |
3301 | | - "type": "string" |
| 3304 | + "type": "string", |
| 3305 | + "traits": { |
| 3306 | + "smithy.api#length": { |
| 3307 | + "min": 1, |
| 3308 | + "max": 255 |
| 3309 | + }, |
| 3310 | + "smithy.api#pattern": "^[A-Za-z][0-9A-Za-z-:._]*$" |
| 3311 | + } |
3302 | 3312 | }, |
3303 | 3313 | "com.amazonaws.arcregionswitch#IamRoleArn": { |
3304 | 3314 | "type": "string", |
|
4975 | 4985 | "action": { |
4976 | 4986 | "target": "com.amazonaws.arcregionswitch#ExecutionAction", |
4977 | 4987 | "traits": { |
4978 | | - "smithy.api#documentation": "<p>The action to perform. Valid values are ACTIVATE (to shift traffic to the target Region) or DEACTIVATE (to shift traffic away from the target Region).</p>", |
| 4988 | + "smithy.api#documentation": "<p>The action to perform. Valid values are <code>activate</code> (to shift traffic to the target Region) or <code>deactivate</code> (to shift traffic away from the target Region).</p>", |
4979 | 4989 | "smithy.api#required": {} |
4980 | 4990 | } |
4981 | 4991 | }, |
4982 | 4992 | "mode": { |
4983 | 4993 | "target": "com.amazonaws.arcregionswitch#ExecutionMode", |
4984 | 4994 | "traits": { |
4985 | 4995 | "smithy.api#default": "graceful", |
4986 | | - "smithy.api#documentation": "<p>The plan execution mode. Valid values are <code>Practice</code>, for testing without making actual changes, or <code>Recovery</code>, for actual traffic shifting and application recovery.</p>" |
| 4996 | + "smithy.api#documentation": "<p>The plan execution mode. Valid values are <code>graceful</code>, for starting the execution in graceful mode, or <code>ungraceful</code>, for starting the execution in ungraceful mode.</p>" |
4987 | 4997 | } |
4988 | 4998 | }, |
4989 | 4999 | "comment": { |
|
5303 | 5313 | "action": { |
5304 | 5314 | "target": "com.amazonaws.arcregionswitch#WorkflowTargetAction", |
5305 | 5315 | "traits": { |
5306 | | - "smithy.api#documentation": "<p>The action to perform when the trigger fires. Valid values include ACTIVATE and DEACTIVATE.</p>", |
| 5316 | + "smithy.api#documentation": "<p>The action to perform when the trigger fires. Valid values include <code>activate</code> and <code>deactivate</code>.</p>", |
5307 | 5317 | "smithy.api#required": {} |
5308 | 5318 | } |
5309 | 5319 | }, |
|
5339 | 5349 | "condition": { |
5340 | 5350 | "target": "com.amazonaws.arcregionswitch#AlarmCondition", |
5341 | 5351 | "traits": { |
5342 | | - "smithy.api#documentation": "<p>The condition that must be met. Valid values include ALARM and OK.</p>", |
| 5352 | + "smithy.api#documentation": "<p>The condition that must be met. Valid values include <code>green</code> and <code>red</code>.</p>", |
5343 | 5353 | "smithy.api#required": {} |
5344 | 5354 | } |
5345 | 5355 | } |
|
5736 | 5746 | "workflowTargetAction": { |
5737 | 5747 | "target": "com.amazonaws.arcregionswitch#WorkflowTargetAction", |
5738 | 5748 | "traits": { |
5739 | | - "smithy.api#documentation": "<p>The action that the workflow performs. Valid values include ACTIVATE and DEACTIVATE.</p>", |
| 5749 | + "smithy.api#documentation": "<p>The action that the workflow performs. Valid values include <code>activate</code> and <code>deactivate</code>.</p>", |
5740 | 5750 | "smithy.api#required": {} |
5741 | 5751 | } |
5742 | 5752 | }, |
|
0 commit comments