Skip to content

Commit eb1f4dd

Browse files
author
AWS
committed
Amazon Security Lake Update: This release updates request validation regex to account for non-commercial aws partitions.
1 parent 8855106 commit eb1f4dd

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Security Lake",
4+
"contributor": "",
5+
"description": "This release updates request validation regex to account for non-commercial aws partitions."
6+
}

services/securitylake/src/main/resources/codegen-resources/service-2.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55
"endpointPrefix":"securitylake",
66
"jsonVersion":"1.1",
77
"protocol":"rest-json",
8+
"protocols":["rest-json"],
89
"serviceFullName":"Amazon Security Lake",
910
"serviceId":"SecurityLake",
1011
"signatureVersion":"v4",
1112
"signingName":"securitylake",
12-
"uid":"securitylake-2018-05-10"
13+
"uid":"securitylake-2018-05-10",
14+
"auth":["aws.auth#sigv4"]
1315
},
1416
"operations":{
1517
"CreateAwsLogSource":{
@@ -651,7 +653,7 @@
651653
"type":"string",
652654
"max":1011,
653655
"min":1,
654-
"pattern":"^arn:aws:securitylake:[A-za-z0-9_/.\\-]{0,63}:[A-za-z0-9_/.\\-]{0,63}:[A-Za-z0-9][A-za-z0-9_/.\\-]{0,127}$"
656+
"pattern":"^arn:(aws|aws-us-gov|aws-cn):securitylake:[A-za-z0-9_/.\\-]{0,63}:[A-za-z0-9_/.\\-]{0,63}:[A-Za-z0-9][A-za-z0-9_/.\\-]{0,127}$"
655657
},
656658
"AwsAccountId":{
657659
"type":"string",
@@ -959,7 +961,7 @@
959961
},
960962
"subscriberIdentity":{
961963
"shape":"AwsIdentity",
962-
"documentation":"<p>The AWS identity used to access your data.</p>"
964+
"documentation":"<p>The Amazon Web Services identity used to access your data.</p>"
963965
},
964966
"subscriberName":{
965967
"shape":"CreateSubscriberRequestSubscriberNameString",
@@ -1036,7 +1038,7 @@
10361038
"type":"string",
10371039
"max":64,
10381040
"min":1,
1039-
"pattern":"^[\\\\\\w\\-_:/.]*$"
1041+
"pattern":"^[\\w\\-\\_\\:\\.]*$"
10401042
},
10411043
"CustomLogSourceProvider":{
10421044
"type":"structure",
@@ -1867,7 +1869,7 @@
18671869
},
18681870
"Region":{
18691871
"type":"string",
1870-
"pattern":"^(af|ap|ca|eu|me|sa|us)-(central|north|(north(?:east|west))|south|south(?:east|west)|east|west)-\\d+$"
1872+
"pattern":"^(us(-gov)?|af|ap|ca|eu|me|sa)-(central|north|(north(?:east|west))|south|south(?:east|west)|east|west)-\\d+$"
18711873
},
18721874
"RegionList":{
18731875
"type":"list",
@@ -1964,7 +1966,7 @@
19641966
},
19651967
"resourceShareArn":{
19661968
"shape":"ResourceShareArn",
1967-
"documentation":"<p>The Amazon Resource Name (ARN) which uniquely defines the AWS RAM resource share. Before accepting the RAM resource share invitation, you can view details related to the RAM resource share.</p> <p>This field is available only for Lake Formation subscribers created after March 8, 2023.</p>"
1969+
"documentation":"<p>The Amazon Resource Name (ARN) which uniquely defines the Amazon Web Services RAM resource share. Before accepting the RAM resource share invitation, you can view details related to the RAM resource share.</p> <p>This field is available only for Lake Formation subscribers created after March 8, 2023.</p>"
19681970
},
19691971
"resourceShareName":{
19701972
"shape":"ResourceShareName",
@@ -2000,7 +2002,7 @@
20002002
},
20012003
"subscriberIdentity":{
20022004
"shape":"AwsIdentity",
2003-
"documentation":"<p>The AWS identity used to access your data.</p>"
2005+
"documentation":"<p>The Amazon Web Services identity used to access your data.</p>"
20042006
},
20052007
"subscriberName":{
20062008
"shape":"SafeString",

0 commit comments

Comments
 (0)