Skip to content

Commit 0bc2c67

Browse files
author
awstools
committed
feat(client-invoicing): Update endpoint ruleset parameters casing
1 parent b3b0b05 commit 0bc2c67

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

clients/client-invoicing/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={"authSchemes":[{"name":"sigv4","signingRegion":"{PartitionResult#implicitGlobalRegion}"}]},
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:{},headers:{}},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://invoicing-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}",properties:i,headers:{}},type:e},{endpoint:{url:"https://invoicing.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}",properties:i,headers:{}},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:{},headers:{}},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://invoicing-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}",properties:i,headers:{}},type:e},{endpoint:{url:"https://invoicing.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}",properties:i,headers:{}},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/invoicing.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,19 +1154,19 @@
11541154
"required": true,
11551155
"default": false,
11561156
"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.",
1157-
"type": "Boolean"
1157+
"type": "boolean"
11581158
},
11591159
"Endpoint": {
11601160
"builtIn": "SDK::Endpoint",
11611161
"required": false,
11621162
"documentation": "Override the endpoint used to send this request",
1163-
"type": "String"
1163+
"type": "string"
11641164
},
11651165
"Region": {
11661166
"builtIn": "AWS::Region",
11671167
"required": false,
11681168
"documentation": "The AWS region used to dispatch the request.",
1169-
"type": "String"
1169+
"type": "string"
11701170
}
11711171
},
11721172
"rules": [

0 commit comments

Comments
 (0)