GeezerVison is showing github.com — AWS Fault Injection Simulator Update: Enabled FIPS endpoints for GovC… · aws/aws-sdk-java-v2@a2b69c8
File treeExpand file treeCollapse file tree Open diff view settings services/fis/src/main/resources/codegen-resources
Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboard +6Lines changed: 6 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +{ | | 2 | + "type": "feature", | | 3 | + "category": "AWS Fault Injection Simulator", | | 4 | + "contributor": "", | | 5 | + "description": "Enabled FIPS endpoints for GovCloud (US) regions in SDK." | | 6 | +} |
Collapse file Copy file name to clipboardExpand all lines: services/fis/src/main/resources/codegen-resources/endpoint-rule-set.json +74-34Lines changed: 74 additions & 34 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 3 | 3 | "parameters": { | 4 | 4 | "Region": { | 5 | 5 | "builtIn": "AWS::Region", | 6 | | - "required": false, | | 6 | + "required": true, | 7 | 7 | "documentation": "The AWS region used to dispatch the request.", | 8 | 8 | "type": "String" | 9 | 9 | }, | | 52 | 52 | "ref": "Endpoint" | 53 | 53 | } | 54 | 54 | ] | 55 | | - }, | 56 | | - { | 57 | | - "fn": "parseURL", | 58 | | - "argv": [ | 59 | | - { | 60 | | - "ref": "Endpoint" | 61 | | - } | 62 | | - ], | 63 | | - "assign": "url" | 64 | 55 | } | 65 | 56 | ], | 66 | 57 | "type": "tree", | | 174 | 165 | "rules": [ | 175 | 166 | { | 176 | 167 | "conditions": [], | 177 | | - "endpoint": { | 178 | | - "url": "https://fis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", | 179 | | - "properties": {}, | 180 | | - "headers": {} | 181 | | - }, | 182 | | - "type": "endpoint" | | 168 | + "type": "tree", | | 169 | + "rules": [ | | 170 | + { | | 171 | + "conditions": [], | | 172 | + "endpoint": { | | 173 | + "url": "https://fis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", | | 174 | + "properties": {}, | | 175 | + "headers": {} | | 176 | + }, | | 177 | + "type": "endpoint" | | 178 | + } | | 179 | + ] | 183 | 180 | } | 184 | 181 | ] | 185 | 182 | }, | | 226 | 223 | "rules": [ | 227 | 224 | { | 228 | 225 | "conditions": [], | 229 | | - "endpoint": { | 230 | | - "url": "https://fis-fips.{Region}.{PartitionResult#dnsSuffix}", | 231 | | - "properties": {}, | 232 | | - "headers": {} | 233 | | - }, | 234 | | - "type": "endpoint" | | 226 | + "type": "tree", | | 227 | + "rules": [ | | 228 | + { | | 229 | + "conditions": [ | | 230 | + { | | 231 | + "fn": "stringEquals", | | 232 | + "argv": [ | | 233 | + "aws-us-gov", | | 234 | + { | | 235 | + "fn": "getAttr", | | 236 | + "argv": [ | | 237 | + { | | 238 | + "ref": "PartitionResult" | | 239 | + }, | | 240 | + "name" | | 241 | + ] | | 242 | + } | | 243 | + ] | | 244 | + } | | 245 | + ], | | 246 | + "endpoint": { | | 247 | + "url": "https://fis.{Region}.amazonaws.com", | | 248 | + "properties": {}, | | 249 | + "headers": {} | | 250 | + }, | | 251 | + "type": "endpoint" | | 252 | + }, | | 253 | + { | | 254 | + "conditions": [], | | 255 | + "endpoint": { | | 256 | + "url": "https://fis-fips.{Region}.{PartitionResult#dnsSuffix}", | | 257 | + "properties": {}, | | 258 | + "headers": {} | | 259 | + }, | | 260 | + "type": "endpoint" | | 261 | + } | | 262 | + ] | 235 | 263 | } | 236 | 264 | ] | 237 | 265 | }, | | 278 | 306 | "rules": [ | 279 | 307 | { | 280 | 308 | "conditions": [], | 281 | | - "endpoint": { | 282 | | - "url": "https://fis.{Region}.{PartitionResult#dualStackDnsSuffix}", | 283 | | - "properties": {}, | 284 | | - "headers": {} | 285 | | - }, | 286 | | - "type": "endpoint" | | 309 | + "type": "tree", | | 310 | + "rules": [ | | 311 | + { | | 312 | + "conditions": [], | | 313 | + "endpoint": { | | 314 | + "url": "https://fis.{Region}.{PartitionResult#dualStackDnsSuffix}", | | 315 | + "properties": {}, | | 316 | + "headers": {} | | 317 | + }, | | 318 | + "type": "endpoint" | | 319 | + } | | 320 | + ] | 287 | 321 | } | 288 | 322 | ] | 289 | 323 | }, | | 296 | 330 | }, | 297 | 331 | { | 298 | 332 | "conditions": [], | 299 | | - "endpoint": { | 300 | | - "url": "https://fis.{Region}.{PartitionResult#dnsSuffix}", | 301 | | - "properties": {}, | 302 | | - "headers": {} | 303 | | - }, | 304 | | - "type": "endpoint" | | 333 | + "type": "tree", | | 334 | + "rules": [ | | 335 | + { | | 336 | + "conditions": [], | | 337 | + "endpoint": { | | 338 | + "url": "https://fis.{Region}.{PartitionResult#dnsSuffix}", | | 339 | + "properties": {}, | | 340 | + "headers": {} | | 341 | + }, | | 342 | + "type": "endpoint" | | 343 | + } | | 344 | + ] | 305 | 345 | } | 306 | 346 | ] | 307 | 347 | } | |
|