You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/client-cloudfront-keyvaluestore/src/endpoint/ruleset.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -25,13 +25,13 @@ f="arnType",
25
25
g="partitionResult",
26
26
h="tree",
27
27
i="error",
28
-
j={"required":false,[r]:"String"},
28
+
j={"required":false,[r]:"string"},
29
29
k={[u]:c},
30
30
l={[u]:f},
31
31
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},
o={[i]:"No resource type found in the KVS ARN. Resource type must be `key-value-store`.",[r]:i},
34
34
p=[{[u]:"KvsARN"}],
35
35
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}]};
Copy file name to clipboardExpand all lines: codegen/sdk-codegen/aws-models/cloudfront-keyvaluestore.json
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -55,26 +55,26 @@
55
55
"KvsARN": {
56
56
"required": false,
57
57
"documentation": "The ARN of the Key Value Store",
58
-
"type": "String"
58
+
"type": "string"
59
59
},
60
60
"Region": {
61
61
"builtIn": "AWS::Region",
62
62
"required": false,
63
63
"documentation": "The AWS region used to dispatch the request.",
64
-
"type": "String"
64
+
"type": "string"
65
65
},
66
66
"UseFIPS": {
67
67
"builtIn": "AWS::UseFIPS",
68
68
"required": true,
69
69
"default": false,
70
70
"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"
72
72
},
73
73
"Endpoint": {
74
74
"builtIn": "SDK::Endpoint",
75
75
"required": false,
76
76
"documentation": "Override the endpoint used to send this request",
0 commit comments