Skip to content

Commit 13b7b81

Browse files
author
awstools
committed
feat(client-organizations): Releasing minor partitional endpoint updates.
1 parent 60d1a5a commit 13b7b81

File tree

2 files changed

+156
-1
lines changed

2 files changed

+156
-1
lines changed

clients/client-organizations/src/endpoint/ruleset.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ y={[D]:c,[E]:[true,{[D]:"getAttr",[E]:[{[F]:g},"supportsDualStack"]}]},
4141
z=[n],
4242
A=[o],
4343
B=[{[F]:"Region"}];
44-
const _data={version:"1.0",parameters:{Region:k,UseDualStack:l,UseFIPS:l,Endpoint:k},rules:[{conditions:[{[D]:b,[E]:[m]}],rules:[{conditions:z,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:d},{conditions:A,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:d},{endpoint:{url:m,properties:p,headers:p},type:e}],type:f},{conditions:[{[D]:b,[E]:B}],rules:[{conditions:[{[D]:"aws.partition",[E]:B,assign:g}],rules:[{conditions:[q,s,t],endpoint:{url:"https://organizations.us-east-1.amazonaws.com",properties:u,headers:p},type:e},{conditions:[q,n,t],endpoint:{url:"https://organizations-fips.us-east-1.amazonaws.com",properties:u,headers:p},type:e},{conditions:[{[D]:h,[E]:[r,"aws-cn"]},s,t],endpoint:{url:"https://organizations.cn-northwest-1.amazonaws.com.cn",properties:{[G]:[{name:i,[H]:j,[I]:"cn-northwest-1"}]},headers:p},type:e},{conditions:[v,s,t],endpoint:w,type:e},{conditions:[v,n,t],endpoint:w,type:e},{conditions:[{[D]:h,[E]:[r,"aws-iso"]},s,t],endpoint:{url:"https://organizations.us-iso-east-1.c2s.ic.gov",properties:{[G]:[{name:i,[H]:j,[I]:"us-iso-east-1"}]},headers:p},type:e},{conditions:[n,o],rules:[{conditions:[{[D]:c,[E]:[a,x]},y],rules:[{endpoint:{url:"https://organizations-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:p,headers:p},type:e}],type:f},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:d}],type:f},{conditions:z,rules:[{conditions:[{[D]:c,[E]:[x,a]}],rules:[{endpoint:{url:"https://organizations-fips.{Region}.{PartitionResult#dnsSuffix}",properties:p,headers:p},type:e}],type:f},{error:"FIPS is enabled but this partition does not support FIPS",type:d}],type:f},{conditions:A,rules:[{conditions:[y],rules:[{endpoint:{url:"https://organizations.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:p,headers:p},type:e}],type:f},{error:"DualStack is enabled but this partition does not support DualStack",type:d}],type:f},{endpoint:{url:"https://organizations.{Region}.{PartitionResult#dnsSuffix}",properties:p,headers:p},type:e}],type:f}],type:f},{error:"Invalid Configuration: Missing Region",type:d}]};
44+
const _data={version:"1.0",parameters:{Region:k,UseDualStack:l,UseFIPS:l,Endpoint:k},rules:[{conditions:[{[D]:b,[E]:[m]}],rules:[{conditions:z,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:d},{conditions:A,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:d},{endpoint:{url:m,properties:p,headers:p},type:e}],type:f},{conditions:[{[D]:b,[E]:B}],rules:[{conditions:[{[D]:"aws.partition",[E]:B,assign:g}],rules:[{conditions:[q,s,t],endpoint:{url:"https://organizations.us-east-1.amazonaws.com",properties:u,headers:p},type:e},{conditions:[q,n,t],endpoint:{url:"https://organizations-fips.us-east-1.amazonaws.com",properties:u,headers:p},type:e},{conditions:[{[D]:h,[E]:[r,"aws-cn"]},s,t],endpoint:{url:"https://organizations.cn-northwest-1.amazonaws.com.cn",properties:{[G]:[{name:i,[H]:j,[I]:"cn-northwest-1"}]},headers:p},type:e},{conditions:[v,s,t],endpoint:w,type:e},{conditions:[v,n,t],endpoint:w,type:e},{conditions:[{[D]:h,[E]:[r,"aws-iso"]},s,t],endpoint:{url:"https://organizations.us-iso-east-1.c2s.ic.gov",properties:{[G]:[{name:i,[H]:j,[I]:"us-iso-east-1"}]},headers:p},type:e},{conditions:[{[D]:h,[E]:[r,"aws-iso-b"]},s,t],endpoint:{url:"https://organizations.us-isob-east-1.sc2s.sgov.gov",properties:{[G]:[{name:i,[H]:j,[I]:"us-isob-east-1"}]},headers:p},type:e},{conditions:[{[D]:h,[E]:[r,"aws-iso-f"]},s,t],endpoint:{url:"https://organizations.us-isof-south-1.csp.hci.ic.gov",properties:{[G]:[{name:i,[H]:j,[I]:"us-isof-south-1"}]},headers:p},type:e},{conditions:[n,o],rules:[{conditions:[{[D]:c,[E]:[a,x]},y],rules:[{endpoint:{url:"https://organizations-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:p,headers:p},type:e}],type:f},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:d}],type:f},{conditions:z,rules:[{conditions:[{[D]:c,[E]:[x,a]}],rules:[{endpoint:{url:"https://organizations-fips.{Region}.{PartitionResult#dnsSuffix}",properties:p,headers:p},type:e}],type:f},{error:"FIPS is enabled but this partition does not support FIPS",type:d}],type:f},{conditions:A,rules:[{conditions:[y],rules:[{endpoint:{url:"https://organizations.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:p,headers:p},type:e}],type:f},{error:"DualStack is enabled but this partition does not support DualStack",type:d}],type:f},{endpoint:{url:"https://organizations.{Region}.{PartitionResult#dnsSuffix}",properties:p,headers:p},type:e}],type:f}],type:f},{error:"Invalid Configuration: Missing Region",type:d}]};
4545
export const ruleSet: RuleSetObject = _data;

codegen/sdk-codegen/aws-models/organizations.json

Lines changed: 155 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,108 @@
647647
},
648648
"type": "endpoint"
649649
},
650+
{
651+
"conditions": [
652+
{
653+
"fn": "stringEquals",
654+
"argv": [
655+
{
656+
"fn": "getAttr",
657+
"argv": [
658+
{
659+
"ref": "PartitionResult"
660+
},
661+
"name"
662+
]
663+
},
664+
"aws-iso-b"
665+
]
666+
},
667+
{
668+
"fn": "booleanEquals",
669+
"argv": [
670+
{
671+
"ref": "UseFIPS"
672+
},
673+
false
674+
]
675+
},
676+
{
677+
"fn": "booleanEquals",
678+
"argv": [
679+
{
680+
"ref": "UseDualStack"
681+
},
682+
false
683+
]
684+
}
685+
],
686+
"endpoint": {
687+
"url": "https://organizations.us-isob-east-1.sc2s.sgov.gov",
688+
"properties": {
689+
"authSchemes": [
690+
{
691+
"name": "sigv4",
692+
"signingName": "organizations",
693+
"signingRegion": "us-isob-east-1"
694+
}
695+
]
696+
},
697+
"headers": {}
698+
},
699+
"type": "endpoint"
700+
},
701+
{
702+
"conditions": [
703+
{
704+
"fn": "stringEquals",
705+
"argv": [
706+
{
707+
"fn": "getAttr",
708+
"argv": [
709+
{
710+
"ref": "PartitionResult"
711+
},
712+
"name"
713+
]
714+
},
715+
"aws-iso-f"
716+
]
717+
},
718+
{
719+
"fn": "booleanEquals",
720+
"argv": [
721+
{
722+
"ref": "UseFIPS"
723+
},
724+
false
725+
]
726+
},
727+
{
728+
"fn": "booleanEquals",
729+
"argv": [
730+
{
731+
"ref": "UseDualStack"
732+
},
733+
false
734+
]
735+
}
736+
],
737+
"endpoint": {
738+
"url": "https://organizations.us-isof-south-1.csp.hci.ic.gov",
739+
"properties": {
740+
"authSchemes": [
741+
{
742+
"name": "sigv4",
743+
"signingName": "organizations",
744+
"signingRegion": "us-isof-south-1"
745+
}
746+
]
747+
},
748+
"headers": {}
749+
},
750+
"type": "endpoint"
751+
},
650752
{
651753
"conditions": [
652754
{
@@ -1241,6 +1343,28 @@
12411343
"UseDualStack": false
12421344
}
12431345
},
1346+
{
1347+
"documentation": "For region aws-iso-b-global with FIPS disabled and DualStack disabled",
1348+
"expect": {
1349+
"endpoint": {
1350+
"properties": {
1351+
"authSchemes": [
1352+
{
1353+
"name": "sigv4",
1354+
"signingName": "organizations",
1355+
"signingRegion": "us-isob-east-1"
1356+
}
1357+
]
1358+
},
1359+
"url": "https://organizations.us-isob-east-1.sc2s.sgov.gov"
1360+
}
1361+
},
1362+
"params": {
1363+
"Region": "aws-iso-b-global",
1364+
"UseFIPS": false,
1365+
"UseDualStack": false
1366+
}
1367+
},
12441368
{
12451369
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
12461370
"expect": {
@@ -1280,6 +1404,15 @@
12801404
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
12811405
"expect": {
12821406
"endpoint": {
1407+
"properties": {
1408+
"authSchemes": [
1409+
{
1410+
"name": "sigv4",
1411+
"signingName": "organizations",
1412+
"signingRegion": "us-isob-east-1"
1413+
}
1414+
]
1415+
},
12831416
"url": "https://organizations.us-isob-east-1.sc2s.sgov.gov"
12841417
}
12851418
},
@@ -1289,6 +1422,28 @@
12891422
"UseDualStack": false
12901423
}
12911424
},
1425+
{
1426+
"documentation": "For region us-isof-south-1 with FIPS disabled and DualStack disabled",
1427+
"expect": {
1428+
"endpoint": {
1429+
"properties": {
1430+
"authSchemes": [
1431+
{
1432+
"name": "sigv4",
1433+
"signingName": "organizations",
1434+
"signingRegion": "us-isof-south-1"
1435+
}
1436+
]
1437+
},
1438+
"url": "https://organizations.us-isof-south-1.csp.hci.ic.gov"
1439+
}
1440+
},
1441+
"params": {
1442+
"Region": "us-isof-south-1",
1443+
"UseFIPS": false,
1444+
"UseDualStack": false
1445+
}
1446+
},
12921447
{
12931448
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
12941449
"expect": {

0 commit comments

Comments
 (0)