Skip to content

Commit 5fcd5f7

Browse files
author
awstools
committed
feat(client-cloudfront-keyvaluestore): Update endpoint ruleset parameters casing
1 parent 6ed4cf4 commit 5fcd5f7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

clients/client-cloudfront-keyvaluestore/src/endpoint/ruleset.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ f="arnType",
2525
g="partitionResult",
2626
h="tree",
2727
i="error",
28-
j={"required":false,[r]:"String"},
28+
j={"required":false,[r]:"string"},
2929
k={[u]:c},
3030
l={[u]:f},
3131
m={[t]:[{"fn":b,"argv":[{[u]:"Endpoint"}]}],[s]:[{[t]:[{"fn":"parseURL","argv":[{[u]:"Endpoint"}],"assign":"url"}],[s]:[{[v]:{"url":"{url#scheme}://{parsedArn#accountId}.{url#authority}{url#path}",[w]:{[x]:[{"name":"sigv4a",[y]:"cloudfront-keyvaluestore",[z]:["*"]}]},[A]:{}},[r]:"endpoint"}],[r]:h},{[i]:"Provided endpoint is not a valid URL",[r]:i}],[r]:h},
3232
n={[v]:{"url":"https://{parsedArn#accountId}.cloudfront-kvs.global.api.aws",[w]:{[x]:[{"name":"sigv4a",[y]:"cloudfront-keyvaluestore",[z]:["*"]}]},[A]:{}},[r]:"endpoint"},
3333
o={[i]:"No resource type found in the KVS ARN. Resource type must be `key-value-store`.",[r]:i},
3434
p=[{[u]:"KvsARN"}],
3535
q=[{[u]:"Region"}];
36-
const _data={version:"1.0",parameters:{KvsARN:j,Region:j,UseFIPS:{required:true,default:a,[r]:"Boolean"},Endpoint:j},[s]:[{[t]:[{fn:"booleanEquals",argv:[{[u]:"UseFIPS"},a]}],[s]:[{[t]:[{fn:b,argv:p}],[s]:[{[t]:[{fn:"aws.parseArn",argv:p,assign:c}],[s]:[{[t]:[{fn:d,argv:[{fn:e,argv:[k,"service"]},"cloudfront"]}],[s]:[{[t]:[{fn:d,argv:[{fn:e,argv:[k,"region"]},""]}],[s]:[{[t]:[{fn:e,argv:[k,"resourceId[0]"],assign:f}],[s]:[{[t]:[{fn:"not",argv:[{fn:d,argv:[l,""]}]}],[s]:[{[t]:[{fn:d,argv:[l,"key-value-store"]}],[s]:[{[t]:[{fn:d,argv:[{fn:e,argv:[k,"partition"]},"aws"]}],[s]:[{[t]:[{fn:b,argv:q}],[s]:[{[t]:[{fn:"aws.partition",argv:q,assign:g}],[s]:[{[t]:[{fn:d,argv:[{fn:e,argv:[{[u]:g},"name"]},"{parsedArn#partition}"]}],[s]:[m,n],[r]:h},{error:"Client was configured for partition `{partitionResult#name}` but Kvs ARN has `{parsedArn#partition}`",[r]:i}],[r]:h}],[r]:h},m,n],[r]:h},{error:"CloudFront-KeyValueStore is not supported in partition `{parsedArn#partition}`",[r]:i}],[r]:h},{error:"ARN resource type is invalid. Expected `key-value-store`, found: `{arnType}`",[r]:i}],[r]:h},o],[r]:h},o],[r]:h},{error:"Provided ARN must be a global resource ARN. Found: `{parsedArn#region}`",[r]:i}],[r]:h},{error:"Provided ARN is not a valid CloudFront Service ARN. Found: `{parsedArn#service}`",[r]:i}],[r]:h},{error:"KVS ARN must be a valid ARN",[r]:i}],[r]:h},{error:"KVS ARN must be provided to use this service",[r]:i}],[r]:h},{error:"Invalid Configuration: FIPS is not supported with CloudFront-KeyValueStore.",[r]:i}]};
36+
const _data={version:"1.0",parameters:{KvsARN:j,Region:j,UseFIPS:{required:true,default:a,[r]:"boolean"},Endpoint:j},[s]:[{[t]:[{fn:"booleanEquals",argv:[{[u]:"UseFIPS"},a]}],[s]:[{[t]:[{fn:b,argv:p}],[s]:[{[t]:[{fn:"aws.parseArn",argv:p,assign:c}],[s]:[{[t]:[{fn:d,argv:[{fn:e,argv:[k,"service"]},"cloudfront"]}],[s]:[{[t]:[{fn:d,argv:[{fn:e,argv:[k,"region"]},""]}],[s]:[{[t]:[{fn:e,argv:[k,"resourceId[0]"],assign:f}],[s]:[{[t]:[{fn:"not",argv:[{fn:d,argv:[l,""]}]}],[s]:[{[t]:[{fn:d,argv:[l,"key-value-store"]}],[s]:[{[t]:[{fn:d,argv:[{fn:e,argv:[k,"partition"]},"aws"]}],[s]:[{[t]:[{fn:b,argv:q}],[s]:[{[t]:[{fn:"aws.partition",argv:q,assign:g}],[s]:[{[t]:[{fn:d,argv:[{fn:e,argv:[{[u]:g},"name"]},"{parsedArn#partition}"]}],[s]:[m,n],[r]:h},{error:"Client was configured for partition `{partitionResult#name}` but Kvs ARN has `{parsedArn#partition}`",[r]:i}],[r]:h}],[r]:h},m,n],[r]:h},{error:"CloudFront-KeyValueStore is not supported in partition `{parsedArn#partition}`",[r]:i}],[r]:h},{error:"ARN resource type is invalid. Expected `key-value-store`, found: `{arnType}`",[r]:i}],[r]:h},o],[r]:h},o],[r]:h},{error:"Provided ARN must be a global resource ARN. Found: `{parsedArn#region}`",[r]:i}],[r]:h},{error:"Provided ARN is not a valid CloudFront Service ARN. Found: `{parsedArn#service}`",[r]:i}],[r]:h},{error:"KVS ARN must be a valid ARN",[r]:i}],[r]:h},{error:"KVS ARN must be provided to use this service",[r]:i}],[r]:h},{error:"Invalid Configuration: FIPS is not supported with CloudFront-KeyValueStore.",[r]:i}]};
3737
export const ruleSet: RuleSetObject = _data;

codegen/sdk-codegen/aws-models/cloudfront-keyvaluestore.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,26 +55,26 @@
5555
"KvsARN": {
5656
"required": false,
5757
"documentation": "The ARN of the Key Value Store",
58-
"type": "String"
58+
"type": "string"
5959
},
6060
"Region": {
6161
"builtIn": "AWS::Region",
6262
"required": false,
6363
"documentation": "The AWS region used to dispatch the request.",
64-
"type": "String"
64+
"type": "string"
6565
},
6666
"UseFIPS": {
6767
"builtIn": "AWS::UseFIPS",
6868
"required": true,
6969
"default": false,
7070
"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.",
71-
"type": "Boolean"
71+
"type": "boolean"
7272
},
7373
"Endpoint": {
7474
"builtIn": "SDK::Endpoint",
7575
"required": false,
7676
"documentation": "Override the endpoint used to send this request",
77-
"type": "String"
77+
"type": "string"
7878
}
7979
},
8080
"rules": [

0 commit comments

Comments
 (0)