Skip to content

Commit 73c5dbe

Browse files
author
awstools
committed
feat(client-kendra-ranking): Update endpoint ruleset parameters casing
1 parent eefda1b commit 73c5dbe

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

clients/client-kendra-ranking/src/endpoint/ruleset.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ f="endpoint",
1717
g="tree",
1818
h="PartitionResult",
1919
i="getAttr",
20-
j={"required":false,"type":"String"},
20+
j={"required":false,"type":"string"},
2121
k={[s]:"Endpoint"},
2222
l={},
2323
m={[s]:h},
2424
n={[e]:"FIPS is enabled but this partition does not support FIPS","type":e},
2525
o=[{"fn":d,[r]:[{[s]:"UseFIPS"},true]}],
2626
p=[{[s]:"Region"}],
2727
q=[{"fn":d,[r]:[{"fn":i,[r]:[m,"supportsFIPS"]},true]}];
28-
const _data={version:"1.0",parameters:{Region:j,UseFIPS:{required:b,default:a,type:"Boolean"},Endpoint:j},rules:[{conditions:[{fn:c,[r]:[k]}],rules:[{conditions:o,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:e},{endpoint:{url:k,properties:l,headers:l},type:f}],type:g},{conditions:[{fn:c,[r]:p}],rules:[{conditions:[{fn:"aws.partition",[r]:p,assign:h}],rules:[{conditions:[{fn:d,[r]:[b,{fn:i,[r]:[m,"supportsDualStack"]}]}],rules:[{conditions:o,rules:[{conditions:q,rules:[{endpoint:{url:"https://kendra-ranking-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:f}],type:g},n],type:g},{endpoint:{url:"https://kendra-ranking.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:f}],type:g},{conditions:o,rules:[{conditions:q,rules:[{endpoint:{url:"https://kendra-ranking-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:f}],type:g},n],type:g},{endpoint:{url:"https://kendra-ranking.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:f}],type:g}],type:g},{error:"Invalid Configuration: Missing Region",type:e}]};
28+
const _data={version:"1.0",parameters:{Region:j,UseFIPS:{required:b,default:a,type:"boolean"},Endpoint:j},rules:[{conditions:[{fn:c,[r]:[k]}],rules:[{conditions:o,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:e},{endpoint:{url:k,properties:l,headers:l},type:f}],type:g},{conditions:[{fn:c,[r]:p}],rules:[{conditions:[{fn:"aws.partition",[r]:p,assign:h}],rules:[{conditions:[{fn:d,[r]:[b,{fn:i,[r]:[m,"supportsDualStack"]}]}],rules:[{conditions:o,rules:[{conditions:q,rules:[{endpoint:{url:"https://kendra-ranking-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:f}],type:g},n],type:g},{endpoint:{url:"https://kendra-ranking.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:f}],type:g},{conditions:o,rules:[{conditions:q,rules:[{endpoint:{url:"https://kendra-ranking-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:f}],type:g},n],type:g},{endpoint:{url:"https://kendra-ranking.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:f}],type:g}],type:g},{error:"Invalid Configuration: Missing Region",type:e}]};
2929
export const ruleSet: RuleSetObject = _data;

codegen/sdk-codegen/aws-models/kendra-ranking.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,20 +82,20 @@
8282
"builtIn": "AWS::Region",
8383
"required": false,
8484
"documentation": "The AWS region used to dispatch the request.",
85-
"type": "String"
85+
"type": "string"
8686
},
8787
"UseFIPS": {
8888
"builtIn": "AWS::UseFIPS",
8989
"required": true,
9090
"default": false,
9191
"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.",
92-
"type": "Boolean"
92+
"type": "boolean"
9393
},
9494
"Endpoint": {
9595
"builtIn": "SDK::Endpoint",
9696
"required": false,
9797
"documentation": "Override the endpoint used to send this request",
98-
"type": "String"
98+
"type": "string"
9999
}
100100
},
101101
"rules": [

0 commit comments

Comments
 (0)