|
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 | }, |
|
1346 | 1346 | } |
1347 | 1347 | }, |
1348 | 1348 | "com.amazonaws.arcregionswitch#AuroraClusterArn": { |
1349 | | - "type": "string" |
| 1349 | + "type": "string", |
| 1350 | + "traits": { |
| 1351 | + "smithy.api#pattern": "^arn:aws[a-zA-Z-]*:rds:[a-z0-9-]+:\\d{12}:cluster:[A-Za-z][0-9A-Za-z-:._]*$" |
| 1352 | + } |
1350 | 1353 | }, |
1351 | 1354 | "com.amazonaws.arcregionswitch#AuroraClusterArns": { |
1352 | 1355 | "type": "list", |
|
3037 | 3040 | "mode": { |
3038 | 3041 | "target": "com.amazonaws.arcregionswitch#ExecutionMode", |
3039 | 3042 | "traits": { |
3040 | | - "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>", |
| 3043 | + "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>", |
3041 | 3044 | "smithy.api#required": {} |
3042 | 3045 | } |
3043 | 3046 | }, |
|
3051 | 3054 | "executionAction": { |
3052 | 3055 | "target": "com.amazonaws.arcregionswitch#ExecutionAction", |
3053 | 3056 | "traits": { |
3054 | | - "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>", |
| 3057 | + "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>", |
3055 | 3058 | "smithy.api#required": {} |
3056 | 3059 | } |
3057 | 3060 | }, |
|
3290 | 3293 | } |
3291 | 3294 | }, |
3292 | 3295 | "com.amazonaws.arcregionswitch#GlobalClusterIdentifier": { |
3293 | | - "type": "string" |
| 3296 | + "type": "string", |
| 3297 | + "traits": { |
| 3298 | + "smithy.api#length": { |
| 3299 | + "min": 1, |
| 3300 | + "max": 255 |
| 3301 | + }, |
| 3302 | + "smithy.api#pattern": "^[A-Za-z][0-9A-Za-z-:._]*$" |
| 3303 | + } |
3294 | 3304 | }, |
3295 | 3305 | "com.amazonaws.arcregionswitch#IamRoleArn": { |
3296 | 3306 | "type": "string", |
|
4961 | 4971 | "action": { |
4962 | 4972 | "target": "com.amazonaws.arcregionswitch#ExecutionAction", |
4963 | 4973 | "traits": { |
4964 | | - "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>", |
| 4974 | + "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>", |
4965 | 4975 | "smithy.api#required": {} |
4966 | 4976 | } |
4967 | 4977 | }, |
4968 | 4978 | "mode": { |
4969 | 4979 | "target": "com.amazonaws.arcregionswitch#ExecutionMode", |
4970 | 4980 | "traits": { |
4971 | 4981 | "smithy.api#default": "graceful", |
4972 | | - "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>" |
| 4982 | + "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>" |
4973 | 4983 | } |
4974 | 4984 | }, |
4975 | 4985 | "comment": { |
|
5285 | 5295 | "action": { |
5286 | 5296 | "target": "com.amazonaws.arcregionswitch#WorkflowTargetAction", |
5287 | 5297 | "traits": { |
5288 | | - "smithy.api#documentation": "<p>The action to perform when the trigger fires. Valid values include ACTIVATE and DEACTIVATE.</p>", |
| 5298 | + "smithy.api#documentation": "<p>The action to perform when the trigger fires. Valid values include <code>activate</code> and <code>deactivate</code>.</p>", |
5289 | 5299 | "smithy.api#required": {} |
5290 | 5300 | } |
5291 | 5301 | }, |
|
5321 | 5331 | "condition": { |
5322 | 5332 | "target": "com.amazonaws.arcregionswitch#AlarmCondition", |
5323 | 5333 | "traits": { |
5324 | | - "smithy.api#documentation": "<p>The condition that must be met. Valid values include ALARM and OK.</p>", |
| 5334 | + "smithy.api#documentation": "<p>The condition that must be met. Valid values include <code>green</code> and <code>red</code>.</p>", |
5325 | 5335 | "smithy.api#required": {} |
5326 | 5336 | } |
5327 | 5337 | } |
|
5715 | 5725 | "workflowTargetAction": { |
5716 | 5726 | "target": "com.amazonaws.arcregionswitch#WorkflowTargetAction", |
5717 | 5727 | "traits": { |
5718 | | - "smithy.api#documentation": "<p>The action that the workflow performs. Valid values include ACTIVATE and DEACTIVATE.</p>", |
| 5728 | + "smithy.api#documentation": "<p>The action that the workflow performs. Valid values include <code>activate</code> and <code>deactivate</code>.</p>", |
5719 | 5729 | "smithy.api#required": {} |
5720 | 5730 | } |
5721 | 5731 | }, |
|
0 commit comments