Skip to content

Commit 23d58ce

Browse files
author
awstools
committed
feat(client-dsql): Update endpoint ruleset parameters casing
1 parent 6af5cf4 commit 23d58ce

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ c="isSet",
1313
d="error",
1414
e="endpoint",
1515
f="tree",
16-
g={"required":false,"type":"String"},
16+
g={"required":false,"type":"string"},
1717
h={[l]:"Endpoint"},
1818
i={},
1919
j=[{"fn":"booleanEquals","argv":[{[l]:"UseFIPS"},true]}],
2020
k=[{[l]:"Region"}];
21-
const _data={version:"1.0",parameters:{UseFIPS:{required:a,default:b,type:"Boolean"},Endpoint:g,Region:g},rules:[{conditions:[{fn:c,argv:[h]}],rules:[{conditions:j,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:d},{endpoint:{url:h,properties:i,headers:i},type:e}],type:f},{rules:[{conditions:[{fn:c,argv:k}],rules:[{conditions:[{fn:"aws.partition",argv:k,assign:"PartitionResult"}],rules:[{conditions:j,endpoint:{url:"https://dsql-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:i,headers:i},type:e},{endpoint:{url:"https://dsql.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:i,headers:i},type:e}],type:f}],type:f},{error:"Invalid Configuration: Missing Region",type:d}],type:f}]};
21+
const _data={version:"1.0",parameters:{UseFIPS:{required:a,default:b,type:"boolean"},Endpoint:g,Region:g},rules:[{conditions:[{fn:c,argv:[h]}],rules:[{conditions:j,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:d},{endpoint:{url:h,properties:i,headers:i},type:e}],type:f},{rules:[{conditions:[{fn:c,argv:k}],rules:[{conditions:[{fn:"aws.partition",argv:k,assign:"PartitionResult"}],rules:[{conditions:j,endpoint:{url:"https://dsql-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:i,headers:i},type:e},{endpoint:{url:"https://dsql.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:i,headers:i},type:e}],type:f}],type:f},{error:"Invalid Configuration: Missing Region",type:d}],type:f}]};
2222
export const ruleSet: RuleSetObject = _data;

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -451,19 +451,19 @@
451451
"required": true,
452452
"default": false,
453453
"documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
454-
"type": "Boolean"
454+
"type": "boolean"
455455
},
456456
"Endpoint": {
457457
"builtIn": "SDK::Endpoint",
458458
"required": false,
459459
"documentation": "Override the endpoint used to send this request",
460-
"type": "String"
460+
"type": "string"
461461
},
462462
"Region": {
463463
"builtIn": "AWS::Region",
464464
"required": false,
465465
"documentation": "The AWS region used to dispatch the request.",
466-
"type": "String"
466+
"type": "string"
467467
}
468468
},
469469
"rules": [

0 commit comments

Comments
 (0)