Skip to content

Commit 3a47fd7

Browse files
author
AWS
committed
AWS Budgets Update: Releasing minor partitional endpoint updates
1 parent 508228e commit 3a47fd7

File tree

4 files changed

+156
-3
lines changed

4 files changed

+156
-3
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": "Releasing minor partitional endpoint updates"
6+
}

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

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,108 @@
212212
},
213213
"type": "endpoint"
214214
},
215+
{
216+
"conditions": [
217+
{
218+
"fn": "stringEquals",
219+
"argv": [
220+
{
221+
"fn": "getAttr",
222+
"argv": [
223+
{
224+
"ref": "PartitionResult"
225+
},
226+
"name"
227+
]
228+
},
229+
"aws-iso-e"
230+
]
231+
},
232+
{
233+
"fn": "booleanEquals",
234+
"argv": [
235+
{
236+
"ref": "UseFIPS"
237+
},
238+
false
239+
]
240+
},
241+
{
242+
"fn": "booleanEquals",
243+
"argv": [
244+
{
245+
"ref": "UseDualStack"
246+
},
247+
false
248+
]
249+
}
250+
],
251+
"endpoint": {
252+
"url": "https://budgets.global.cloud.adc-e.uk",
253+
"properties": {
254+
"authSchemes": [
255+
{
256+
"name": "sigv4",
257+
"signingName": "budgets",
258+
"signingRegion": "eu-isoe-west-1"
259+
}
260+
]
261+
},
262+
"headers": {}
263+
},
264+
"type": "endpoint"
265+
},
266+
{
267+
"conditions": [
268+
{
269+
"fn": "stringEquals",
270+
"argv": [
271+
{
272+
"fn": "getAttr",
273+
"argv": [
274+
{
275+
"ref": "PartitionResult"
276+
},
277+
"name"
278+
]
279+
},
280+
"aws-iso-f"
281+
]
282+
},
283+
{
284+
"fn": "booleanEquals",
285+
"argv": [
286+
{
287+
"ref": "UseFIPS"
288+
},
289+
false
290+
]
291+
},
292+
{
293+
"fn": "booleanEquals",
294+
"argv": [
295+
{
296+
"ref": "UseDualStack"
297+
},
298+
false
299+
]
300+
}
301+
],
302+
"endpoint": {
303+
"url": "https://budgets.global.csp.hci.ic.gov",
304+
"properties": {
305+
"authSchemes": [
306+
{
307+
"name": "sigv4",
308+
"signingName": "budgets",
309+
"signingRegion": "us-isof-south-1"
310+
}
311+
]
312+
},
313+
"headers": {}
314+
},
315+
"type": "endpoint"
316+
},
215317
{
216318
"conditions": [
217319
{

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

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,50 @@
314314
"UseDualStack": false
315315
}
316316
},
317+
{
318+
"documentation": "For region eu-isoe-west-1 with FIPS disabled and DualStack disabled",
319+
"expect": {
320+
"endpoint": {
321+
"properties": {
322+
"authSchemes": [
323+
{
324+
"name": "sigv4",
325+
"signingName": "budgets",
326+
"signingRegion": "eu-isoe-west-1"
327+
}
328+
]
329+
},
330+
"url": "https://budgets.global.cloud.adc-e.uk"
331+
}
332+
},
333+
"params": {
334+
"Region": "eu-isoe-west-1",
335+
"UseFIPS": false,
336+
"UseDualStack": false
337+
}
338+
},
339+
{
340+
"documentation": "For region us-isof-south-1 with FIPS disabled and DualStack disabled",
341+
"expect": {
342+
"endpoint": {
343+
"properties": {
344+
"authSchemes": [
345+
{
346+
"name": "sigv4",
347+
"signingName": "budgets",
348+
"signingRegion": "us-isof-south-1"
349+
}
350+
]
351+
},
352+
"url": "https://budgets.global.csp.hci.ic.gov"
353+
}
354+
},
355+
"params": {
356+
"Region": "us-isof-south-1",
357+
"UseFIPS": false,
358+
"UseDualStack": false
359+
}
360+
},
317361
{
318362
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
319363
"expect": {

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"serviceId":"Budgets",
1212
"signatureVersion":"v4",
1313
"targetPrefix":"AWSBudgetServiceGateway",
14-
"uid":"budgets-2016-10-20"
14+
"uid":"budgets-2016-10-20",
15+
"auth":["aws.auth#sigv4"]
1516
},
1617
"operations":{
1718
"CreateBudget":{
@@ -1836,7 +1837,7 @@
18361837
"type":"string",
18371838
"max":684,
18381839
"min":25,
1839-
"pattern":"^arn:(aws|aws-cn|aws-us-gov|us-iso-east-1|us-isob-east-1):iam::(\\d{12}|aws):policy(\\u002F[\\u0021-\\u007F]+\\u002F|\\u002F)[\\w+=,.@-]+$"
1840+
"pattern":"^arn:aws(-cn|-us-gov|-iso|-iso-[a-z]{1})?:iam::(\\d{12}|aws):policy(\\u002F[\\u0021-\\u007F]+\\u002F|\\u002F)[\\w+=,.@-]+$"
18401841
},
18411842
"PolicyId":{
18421843
"type":"string",
@@ -1908,7 +1909,7 @@
19081909
"type":"string",
19091910
"max":618,
19101911
"min":32,
1911-
"pattern":"^arn:(aws|aws-cn|aws-us-gov|us-iso-east-1|us-isob-east-1):iam::\\d{12}:role(\\u002F[\\u0021-\\u007F]+\\u002F|\\u002F)[\\w+=,.@-]+$"
1912+
"pattern":"^arn:aws(-cn|-us-gov|-iso|-iso-[a-z]{1})?:iam::\\d{12}:role(\\u002F[\\u0021-\\u007F]+\\u002F|\\u002F)[\\w+=,.@-]+$"
19121913
},
19131914
"Roles":{
19141915
"type":"list",

0 commit comments

Comments
 (0)