Skip to content

Commit c14b0b5

Browse files
author
awstools
committed
feat(client-bcm-recommended-actions): Update endpoint ruleset parameters casing
1 parent 1949eeb commit c14b0b5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

clients/client-bcm-recommended-actions/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://bcm-recommended-actions-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}",properties:i,headers:{}},type:e},{endpoint:{url:"https://bcm-recommended-actions.{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://bcm-recommended-actions-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}",properties:i,headers:{}},type:e},{endpoint:{url:"https://bcm-recommended-actions.{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/bcm-recommended-actions.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,19 @@
3434
"required": true,
3535
"default": false,
3636
"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.",
37-
"type": "Boolean"
37+
"type": "boolean"
3838
},
3939
"Endpoint": {
4040
"builtIn": "SDK::Endpoint",
4141
"required": false,
4242
"documentation": "Override the endpoint used to send this request",
43-
"type": "String"
43+
"type": "string"
4444
},
4545
"Region": {
4646
"builtIn": "AWS::Region",
4747
"required": false,
4848
"documentation": "The AWS region used to dispatch the request.",
49-
"type": "String"
49+
"type": "string"
5050
}
5151
},
5252
"rules": [

0 commit comments

Comments
 (0)