Skip to content

Commit acf432d

Browse files
author
awstools
committed
feat(client-qbusiness): Update endpoint ruleset parameters casing
1 parent a0179c8 commit acf432d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

clients/client-qbusiness/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://qbusiness-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:f}],type:g},n],type:g},{endpoint:{url:"https://qbusiness.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:f}],type:g},{conditions:o,rules:[{conditions:q,rules:[{endpoint:{url:"https://qbusiness-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:f}],type:g},n],type:g},{endpoint:{url:"https://qbusiness.{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://qbusiness-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:f}],type:g},n],type:g},{endpoint:{url:"https://qbusiness.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:f}],type:g},{conditions:o,rules:[{conditions:q,rules:[{endpoint:{url:"https://qbusiness-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:f}],type:g},n],type:g},{endpoint:{url:"https://qbusiness.{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/qbusiness.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6915,20 +6915,20 @@
69156915
"builtIn": "AWS::Region",
69166916
"required": false,
69176917
"documentation": "The AWS region used to dispatch the request.",
6918-
"type": "String"
6918+
"type": "string"
69196919
},
69206920
"UseFIPS": {
69216921
"builtIn": "AWS::UseFIPS",
69226922
"required": true,
69236923
"default": false,
69246924
"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.",
6925-
"type": "Boolean"
6925+
"type": "boolean"
69266926
},
69276927
"Endpoint": {
69286928
"builtIn": "SDK::Endpoint",
69296929
"required": false,
69306930
"documentation": "Override the endpoint used to send this request",
6931-
"type": "String"
6931+
"type": "string"
69326932
}
69336933
},
69346934
"rules": [

0 commit comments

Comments
 (0)