Skip to content

Commit a2d7e5f

Browse files
author
awstools
committed
feat(client-notificationscontacts): Update endpoint ruleset parameters casing
1 parent 9bc097f commit a2d7e5f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -733,19 +733,19 @@
733733
"required": true,
734734
"default": false,
735735
"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.",
736-
"type": "Boolean"
736+
"type": "boolean"
737737
},
738738
"Endpoint": {
739739
"builtIn": "SDK::Endpoint",
740740
"required": false,
741741
"documentation": "Override the endpoint used to send this request",
742-
"type": "String"
742+
"type": "string"
743743
},
744744
"Region": {
745745
"builtIn": "AWS::Region",
746746
"required": false,
747747
"documentation": "The AWS region used to dispatch the request.",
748-
"type": "String"
748+
"type": "string"
749749
}
750750
},
751751
"rules": [

0 commit comments

Comments
 (0)