Skip to content

Commit 2130362

Browse files
author
AWS
committed
AWS Budgets Update: Fix the AWS Budgets endpoint for the aws-eusc partition.
1 parent e4cb869 commit 2130362

File tree

4 files changed

+110
-4
lines changed

4 files changed

+110
-4
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Budgets",
4+
"contributor": "",
5+
"description": "Fix the AWS Budgets endpoint for the aws-eusc partition."
6+
}

services/budgets/src/main/resources/codegen-resources/endpoint-rule-set.json

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,106 @@
319319
},
320320
"type": "endpoint"
321321
},
322+
{
323+
"conditions": [
324+
{
325+
"fn": "stringEquals",
326+
"argv": [
327+
{
328+
"fn": "getAttr",
329+
"argv": [
330+
{
331+
"ref": "PartitionResult"
332+
},
333+
"name"
334+
]
335+
},
336+
"aws-eusc"
337+
]
338+
},
339+
{
340+
"fn": "booleanEquals",
341+
"argv": [
342+
{
343+
"ref": "UseFIPS"
344+
},
345+
false
346+
]
347+
},
348+
{
349+
"fn": "booleanEquals",
350+
"argv": [
351+
{
352+
"ref": "UseDualStack"
353+
},
354+
false
355+
]
356+
}
357+
],
358+
"endpoint": {
359+
"url": "https://budgets.eusc-de-east-1.api.amazonwebservices.eu",
360+
"properties": {
361+
"authSchemes": [
362+
{
363+
"name": "sigv4",
364+
"signingRegion": "eusc-de-east-1"
365+
}
366+
]
367+
},
368+
"headers": {}
369+
},
370+
"type": "endpoint"
371+
},
372+
{
373+
"conditions": [
374+
{
375+
"fn": "stringEquals",
376+
"argv": [
377+
{
378+
"fn": "getAttr",
379+
"argv": [
380+
{
381+
"ref": "PartitionResult"
382+
},
383+
"name"
384+
]
385+
},
386+
"aws-eusc"
387+
]
388+
},
389+
{
390+
"fn": "booleanEquals",
391+
"argv": [
392+
{
393+
"ref": "UseFIPS"
394+
},
395+
false
396+
]
397+
},
398+
{
399+
"fn": "booleanEquals",
400+
"argv": [
401+
{
402+
"ref": "UseDualStack"
403+
},
404+
true
405+
]
406+
}
407+
],
408+
"endpoint": {
409+
"url": "https://budgets.eusc-de-east-1.api.amazonwebservices.eu",
410+
"properties": {
411+
"authSchemes": [
412+
{
413+
"name": "sigv4",
414+
"signingRegion": "eusc-de-east-1"
415+
}
416+
]
417+
},
418+
"headers": {}
419+
},
420+
"type": "endpoint"
421+
},
322422
{
323423
"conditions": [
324424
{

services/budgets/src/main/resources/codegen-resources/endpoint-tests.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@
234234
}
235235
]
236236
},
237-
"url": "https://budgets.amazonaws.eu"
237+
"url": "https://budgets.eusc-de-east-1.api.amazonwebservices.eu"
238238
}
239239
},
240240
"params": {

services/budgets/src/main/resources/codegen-resources/service-2.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2061,7 +2061,7 @@
20612061
"type":"string",
20622062
"max":684,
20632063
"min":25,
2064-
"pattern":"^arn:aws(-cn|-us-gov|-iso|-iso-[a-z]{1})?:iam::(\\d{12}|aws):policy(\\u002F[\\u0021-\\u007F]+\\u002F|\\u002F)[\\w+=,.@-]+$"
2064+
"pattern":"^arn:aws(-eusc|-cn|-us-gov|-iso|-iso-[a-z]{1})?:iam::(\\d{12}|aws):policy(\\u002F[\\u0021-\\u007F]+\\u002F|\\u002F)[\\w+=,.@-]+$"
20652065
},
20662066
"PolicyId":{
20672067
"type":"string",
@@ -2073,7 +2073,7 @@
20732073
"type":"string",
20742074
"max":20,
20752075
"min":9,
2076-
"pattern":"^\\w{2}-\\w+(-\\w+)?-\\d$"
2076+
"pattern":"^\\w{2,4}-\\w+(-\\w+)?-\\d$"
20772077
},
20782078
"ResourceLockedException":{
20792079
"type":"structure",
@@ -2133,7 +2133,7 @@
21332133
"type":"string",
21342134
"max":618,
21352135
"min":32,
2136-
"pattern":"^arn:aws(-cn|-us-gov|-iso|-iso-[a-z]{1})?:iam::\\d{12}:role(\\u002F[\\u0021-\\u007F]+\\u002F|\\u002F)[\\w+=,.@-]+$"
2136+
"pattern":"^arn:aws(-eusc|-cn|-us-gov|-iso|-iso-[a-z]{1})?:iam::\\d{12}:role(\\u002F[\\u0021-\\u007F]+\\u002F|\\u002F)[\\w+=,.@-]+$"
21372137
},
21382138
"Roles":{
21392139
"type":"list",

0 commit comments

Comments
 (0)